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
This commit is contained in:
parent
2c7bb9e84f
commit
5aa66da9a1
|
@ -25,7 +25,7 @@ INCLUDES += -I$(shell $(CC) $(CROSS_CFLAGS) -print-search-dirs | head -n 1 | cut
|
||||||
|
|
||||||
LIBPAYLOAD = ../libpayload/libpayload.a
|
LIBPAYLOAD = ../libpayload/libpayload.a
|
||||||
LIBGCC := $(shell $(CC) $(CROSS_CFLAGS) -print-libgcc-file-name)
|
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
|
MODULES = cpuinfo_module.o cpuid.o pci_module.o coreboot_module.o
|
||||||
OBJECTS = coreinfo.o
|
OBJECTS = coreinfo.o
|
||||||
|
|
Loading…
Reference in New Issue