Version 1.9.6.2
[fw/altos] / src / Makefile.defs
index 6df0c3fe2ac42edba14cb20796e2cda32549d43c..897f7ac1b35ade9d2574b45c6e1f1208f6923a6a 100644 (file)
@@ -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 \