summaryrefslogtreecommitdiff
path: root/src/config/Config.lb
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-03-13 15:42:27 +0000
committerStefan Reinauer <stepan@openbios.org>2009-03-13 15:42:27 +0000
commitbe7f79867e4d989fc9cb7fb9e8b0b8ec55956875 (patch)
treef5ae688b318dfb7456351bb33a5a30f28bb9dedc /src/config/Config.lb
parentcc46e73a0221d08a30c78adfc568f162cdda407d (diff)
downloadcoreboot-be7f79867e4d989fc9cb7fb9e8b0b8ec55956875.tar.xz
This, ladies and gentlement, is commit #4000.
Use the (almost) same strict CFLAGS in v2 that we use on v3. And fix a few include files and missing prototypes. Also, fix up the Config-abuild.lb files to properly work for cross compiling. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4000 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/config/Config.lb')
-rw-r--r--src/config/Config.lb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/Config.lb b/src/config/Config.lb
index 5a82b41f17..ae01383030 100644
--- a/src/config/Config.lb
+++ b/src/config/Config.lb
@@ -10,7 +10,7 @@ makedefine GCC ?= $(CC)
makedefine GCC_INC_DIR := $(shell LC_ALL=C $(GCC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp")
makedefine CPPFLAGS := -I$(TOP)/src/include -I$(TOP)/src/arch/$(ARCH)/include -I$(GCC_INC_DIR) $(CPUFLAGS)
-makedefine CFLAGS := $(CPU_OPT) $(DISTRO_CFLAGS) $(CPPFLAGS) -Os -nostdinc -nostdlib -fno-builtin -Wall
+makedefine CFLAGS := $(CPU_OPT) $(DISTRO_CFLAGS) $(CPPFLAGS) -Os -nostdinc -nostdlib -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -Wstrict-aliasing -Wshadow -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer
if ASSEMBLER_DEBUG
makedefine DEBUG_CFLAGS := -g -dA -fverbose-asm