aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-11-21 16:03:40 +0100
committerAmit Pundir <amit.pundir@linaro.org>2013-02-13 10:38:37 +0530
commit5908755d1292c862e68e9f4d188df1888ba5abd0 (patch)
tree7e2725a30234145974d7c48d50b93bcbc6d3d140
parent62fc9562099a254be6bb70fe267d3812b067eec6 (diff)
downloadbuild-5908755d1292c862e68e9f4d188df1888ba5abd0.tar.gz
build/core: Add option to disable C++11 bits
Change-Id: I45294e8c19bf7cdf200b45fbd114ccd75c4e3ca9 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--core/combo/TARGET_linux-arm.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk
index 8d3c3e29a3..020025b81a 100644
--- a/core/combo/TARGET_linux-arm.mk
+++ b/core/combo/TARGET_linux-arm.mk
@@ -160,7 +160,10 @@ else
TARGET_GLOBAL_CFLAGS += -mno-thumb-interwork
endif
-TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden $(call cc-option,-std=gnu++11)
+TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden
+ifneq ($(DEBUG_NO_STDCXX11),yes)
+TARGET_GLOBAL_CPPFLAGS += $(call cc-option,-std=gnu++11)
+endif
# More flags/options can be added here
TARGET_RELEASE_CFLAGS += \