diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-11-21 16:03:40 +0100 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-11-21 16:03:40 +0100 |
commit | 2d55fe4b2783756bafcc36921df2219c2bfe0241 (patch) | |
tree | 93e38ad27cfd986d2395414ff4562e0778abe7d0 | |
parent | e58e781969ac8f0e26b77658c7259d504b357a1d (diff) | |
download | build-linaro_android_4.2.tar.gz |
build/core: Add option to disable C++11 bitslinaro_android_4.2
Change-Id: I45294e8c19bf7cdf200b45fbd114ccd75c4e3ca9
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | core/combo/TARGET_linux-arm.mk | 5 |
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 += \ |