diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2013-07-25 08:20:44 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2013-07-25 08:20:44 +0530 |
commit | dd4566a296465b34685621ac24b8b93d458e27af (patch) | |
tree | 7a4d559a7e38c51d8b14f1ad48e24ec4c0085dd8 | |
parent | 8de76a1f2917a6ecf732a67f9b18cceb3b7328ca (diff) | |
download | build-dd4566a296465b34685621ac24b8b93d458e27af.tar.gz |
build/core: Add option to disable C++11 bits
Signed-off-by: Amit Pundir <amit.pundir@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 476f771781..68ef27db75 100644 --- a/core/combo/TARGET_linux-arm.mk +++ b/core/combo/TARGET_linux-arm.mk @@ -148,7 +148,10 @@ TARGET_GLOBAL_LDFLAGS += \ TARGET_GLOBAL_CFLAGS += -mthumb-interwork -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 += \ |