summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/build/mkrules/cflags.env.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build/mkrules/cflags.env.mk b/src/build/mkrules/cflags.env.mk
index a9589aa60..8b0bd8909 100644
--- a/src/build/mkrules/cflags.env.mk
+++ b/src/build/mkrules/cflags.env.mk
@@ -37,7 +37,7 @@ endif
COMMONFLAGS += $(OPT_LEVEL) -nostdlib
CFLAGS += $(COMMONFLAGS) -mcpu=power7 -nostdinc -g -mno-vsx -mno-altivec\
-Wall -Werror -mtraceback=no -pipe \
- -ffunction-sections -fdata-sections
+ -ffunction-sections -fdata-sections -ffreestanding
ASMFLAGS += $(COMMONFLAGS) -mcpu=power7
CXXFLAGS += $(CFLAGS) -nostdinc++ -fno-rtti -fno-exceptions -Wall \
-fuse-cxa-atexit
OpenPOWER on IntegriCloud