X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FMakefile.defs;h=d9b719973da61e5c52fabe871d8b3111318b7630;hb=76358fb6e68c1f466e4d76a291f60e1053aa50d0;hp=6df0c3fe2ac42edba14cb20796e2cda32549d43c;hpb=7a89aa1ea7e1b02b5cd310986adf4239ec0ce91d;p=fw%2Faltos diff --git a/src/Makefile.defs b/src/Makefile.defs index 6df0c3fe..d9b71997 100644 --- a/src/Makefile.defs +++ b/src/Makefile.defs @@ -16,14 +16,14 @@ WARN_FLAGS=-Wall -Wextra -Werror -Wcast-align \ -Wmissing-declarations \ -Wnested-externs \ -Wshadow \ - -Warray-bounds=2 + -Warray-bounds=2 \ + -Wconversion -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 \