From 5aa66da9a146fa91a587f3676275b4551241a47d Mon Sep 17 00:00:00 2001 From: Jordan Crouse Date: Thu, 20 Mar 2008 01:15:16 +0000 Subject: [PATCH] Add -Os to the CFLAGS for size improvements. Signed-off-by: Jordan Crouse Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3176 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/coreinfo/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile index e11278da5a..e37dfa3cc9 100644 --- a/payloads/coreinfo/Makefile +++ b/payloads/coreinfo/Makefile @@ -25,7 +25,7 @@ INCLUDES += -I$(shell $(CC) $(CROSS_CFLAGS) -print-search-dirs | head -n 1 | cut LIBPAYLOAD = ../libpayload/libpayload.a LIBGCC := $(shell $(CC) $(CROSS_CFLAGS) -print-libgcc-file-name) -CFLAGS := -Werror -fno-stack-protector -nostdinc $(INCLUDES) +CFLAGS := -Werror -Os -fno-stack-protector -nostdinc $(INCLUDES) MODULES = cpuinfo_module.o cpuid.o pci_module.o coreboot_module.o OBJECTS = coreinfo.o