summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2008-03-20 01:15:16 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-03-20 01:15:16 +0000
commit5aa66da9a146fa91a587f3676275b4551241a47d (patch)
treecfb03043e8d3662f0fdc5a4e6a9b654cb959ece6 /payloads
parent2c7bb9e84fb82ed79a9180dc1ecc9e805d70b765 (diff)
Add -Os to the CFLAGS for size improvements.
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3176 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads')
-rw-r--r--payloads/coreinfo/Makefile2
1 files changed, 1 insertions, 1 deletions
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