summaryrefslogtreecommitdiffstats
path: root/src/build/mkrules/cflags.env.mk
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2015-05-27 08:06:12 -0500
committerPatrick Williams <iawillia@us.ibm.com>2015-12-11 13:40:49 -0600
commite4916a9124f9501fda630b6700b662413a4071d5 (patch)
treed955967f0933ce337cb0f02f9f692c024875d547 /src/build/mkrules/cflags.env.mk
parentd7cf89e98190685682dce0d86870c480b23f8556 (diff)
downloadtalos-hostboot-e4916a9124f9501fda630b6700b662413a4071d5.tar.gz
talos-hostboot-e4916a9124f9501fda630b6700b662413a4071d5.zip
Enable C++11
Change-Id: Ib3c4d32b0d3b1bf8bcf80840fff98c710e3250cb RTC:124186 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17979 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/mkrules/cflags.env.mk')
-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 c805999a5..bef6e4da6 100644
--- a/src/build/mkrules/cflags.env.mk
+++ b/src/build/mkrules/cflags.env.mk
@@ -41,7 +41,7 @@ CFLAGS += $(COMMONFLAGS) -mcpu=power7 -nostdinc -g -mno-vsx -mno-altivec\
-ffunction-sections -fdata-sections -ffreestanding -mbig-endian
ASMFLAGS += $(COMMONFLAGS) -mcpu=power7 -mbig-endian
CXXFLAGS += $(CFLAGS) -nostdinc++ -fno-rtti -fno-exceptions -Wall \
- -fuse-cxa-atexit
+ -fuse-cxa-atexit -std=gnu++11
LDFLAGS += --nostdlib --sort-common -EB $(COMMONFLAGS)
INCFLAGS = $(addprefix -I, $(INCDIR) )
OpenPOWER on IntegriCloud