add example for reading packages, fix functions return pointers to copy on stack

This commit is contained in:
Vinzenz Schroeter 2025-05-15 23:48:03 +02:00
parent 4ab5305377
commit 0c6efcee56
9 changed files with 86 additions and 10 deletions

View file

@ -10,7 +10,7 @@ export SERVICEPOINT_HEADER_OUT := $(REPO_ROOT)/include
override CFG_MUSL := $(if $(CFG_MUSL),$(CFG_MUSL),$(if $(MUSL),$(MUSL),0))
override CFG_PROFILE := $(if $(CFG_PROFILE),$(CFG_PROFILE),$(if $(PROFILE),$(PROFILE),release))
CCFLAGS += -Wall -fwhole-program -fPIE -pie
CCFLAGS += -Wall -Wextra -pedantic -fwhole-program -fPIE -pie
STRIPFLAGS := -s --strip-unneeded -R .comment -R .gnu.version -R .note -R .note.gnu.build-id -R .note.ABI-tag