summaryrefslogtreecommitdiffstats
path: root/src/build/mkrules/cflags.env.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/mkrules/cflags.env.mk')
-rw-r--r--src/build/mkrules/cflags.env.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build/mkrules/cflags.env.mk b/src/build/mkrules/cflags.env.mk
index e1d36c190..cb25561f8 100644
--- a/src/build/mkrules/cflags.env.mk
+++ b/src/build/mkrules/cflags.env.mk
@@ -38,6 +38,8 @@ CFLAGS += -DNO_INITIALIZER_LIST
CFLAGS += -D__FAPI
endif
+# Force all files to pull in the CONFIG_ variables
+CFLAGS += -include config.h
COMMONFLAGS += $(OPT_LEVEL) -nostdlib
CFLAGS += $(COMMONFLAGS) -mcpu=power7 -nostdinc -g -mno-vsx -mno-altivec\
OpenPOWER on IntegriCloud