X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FMakefile.defs;h=897f7ac1b35ade9d2574b45c6e1f1208f6923a6a;hb=07eecc0ff6e1104f911e5f83d67f3e14dc68c59c;hp=6df0c3fe2ac42edba14cb20796e2cda32549d43c;hpb=7a89aa1ea7e1b02b5cd310986adf4239ec0ce91d;p=fw%2Faltos diff --git a/src/Makefile.defs b/src/Makefile.defs index 6df0c3fe..897f7ac1 100644 --- a/src/Makefile.defs +++ b/src/Makefile.defs @@ -18,12 +18,11 @@ WARN_FLAGS=-Wall -Wextra -Werror -Wcast-align \ -Wshadow \ -Warray-bounds=2 -OPT=-Os +OPT=-Os -Wl,-Map=$(PROGNAME)-$(VERSION).map -NEWLIB_CFLAGS= \ - -ffreestanding -nostdlib \ - -DNEWLIB_INTEGER_PRINTF_SCANF \ - -isystem $(NEWLIB_NANO)/arm-none-eabi/include +PICOLIBC_CFLAGS= \ + -specs=picolibc.specs \ + $(PICOLIBC_PRINTF_CFLAGS) AO_CFLAGS=\ -std=gnu99 \