From: Robert Jordens Date: Sun, 10 Nov 2013 09:50:41 +0000 (+0100) Subject: common.mak: -Os instead of -O3, smaller bios (<32k) X-Git-Tag: 24jan2021_ls180~2822 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fc301ceba71c18e3f299cf80a9ee998450e94d3;p=litex.git common.mak: -Os instead of -O3, smaller bios (<32k) --- diff --git a/software/common.mak b/software/common.mak index 0c8103de..499e593d 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