[coreboot] New patch to review for coreboot: 38eac14 Make it possible to add additional gcc options when building libpayload.

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed Nov 7 00:21:55 CET 2012


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1723

-gerrit

commit 38eac14c5e3b8572d5731bba453d92ca5a9c491c
Author: Gabe Black <gabeblack at google.com>
Date:   Tue Aug 28 16:32:09 2012 -0700

    Make it possible to add additional gcc options when building libpayload.
    
    Change-Id: Icb228d173312a974746e72b6bbae059103b837fc
    Signed-off-by: Gabe Black <gabeblack at google.com>
---
 payloads/libpayload/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/payloads/libpayload/Makefile.inc b/payloads/libpayload/Makefile.inc
index 9e40d0f..f0f4dff 100644
--- a/payloads/libpayload/Makefile.inc
+++ b/payloads/libpayload/Makefile.inc
@@ -58,7 +58,7 @@ subdirs-$(CONFIG_CBFS) += libcbfs
 subdirs-$(CONFIG_LZMA) += liblzma
 
 INCLUDES := -Iinclude -Iinclude/$(ARCHDIR-y) -I$(obj)
-CFLAGS = $(INCLUDES) -O2 -pipe -g
+CFLAGS =  $(EXTRA_CFLAGS) $(INCLUDES) -Os -pipe
 CFLAGS += -nostdlib -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs
 CFLAGS += -Wstrict-aliasing -Wshadow -fno-builtin




More information about the coreboot mailing list