diff --git a/Makefile b/Makefile index 7bea58d..cae251b 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ OBJCOPY = $(ARCH)objcopy DEFS = -DF_CPU=$(F_CPU) -DHOST -DGEN3 # DEFS += "-DDEBUG=1" -OPTIMIZE = -Os -ffunction-sections -finline-functions-called-once +OPTIMIZE = -Os -ffunction-sections -finline-functions-called-once -mcall-prologues # OPTIMIZE = -O0 CFLAGS = -g -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS) -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -save-temps LDFLAGS = -Wl,--as-needed -Wl,--gc-sections