From 4fc301ceba71c18e3f299cf80a9ee998450e94d3 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Sun, 10 Nov 2013 10:50:41 +0100 Subject: [PATCH] common.mak: -Os instead of -O3, smaller bios (<32k) --- software/common.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/common.mak b/software/common.mak index 0c8103dea..499e593d1 100644 --- a/software/common.mak +++ b/software/common.mak @@ -41,7 +41,7 @@ endif # Toolchain options # INCLUDES = -I$(MSCDIR)/software/include/base -I$(MSCDIR)/software/include -I$(MSCDIR)/common -COMMONFLAGS = -O3 -mbarrel-shift-enabled -mmultiply-enabled -mdivide-enabled -msign-extend-enabled \ +COMMONFLAGS = -Os -mbarrel-shift-enabled -mmultiply-enabled -mdivide-enabled -msign-extend-enabled \ -Wall -fno-builtin -nostdinc -DGIT_ID=$(GIT_ID) $(INCLUDES) CFLAGS = $(COMMONFLAGS) -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes CXXFLAGS = $(COMMONFLAGS) -fno-exceptions -ffreestanding