From 4814a752ab2864bad9994471c7c7f096a193f861 Mon Sep 17 00:00:00 2001 From: Dario Ernst Date: Sun, 13 Feb 2011 23:59:26 +0100 Subject: [PATCH] small nicer gcc opts --- firmware/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/Makefile.inc b/firmware/Makefile.inc index 35e9ad6..db15fd6 100644 --- a/firmware/Makefile.inc +++ b/firmware/Makefile.inc @@ -3,7 +3,7 @@ CFLAGS += -save-temps CFLAGS += -std=gnu99 -Wall # implements C99, for # this removes dead code and does global linker optimization #CFLAGS += -ffunction-sections -Wl,--gc-sections -Wl,--relax -CFLAGS += -Wall -Os -I. -mmcu=atmega88 -lm -ffunction-sections -fdata-sections +CFLAGS += -Wall -Os -I. -mmcu=atmega88 -lm -ffunction-sections -fdata-sections -Wl,--relax -ffreestanding # further optimization: #CFLAGS += --param inline-call-cost=2