From 2d55fe4b2783756bafcc36921df2219c2bfe0241 Mon Sep 17 00:00:00 2001 From: Bernhard Rosenkraenzer Date: Wed, 21 Nov 2012 16:03:40 +0100 Subject: build/core: Add option to disable C++11 bits Change-Id: I45294e8c19bf7cdf200b45fbd114ccd75c4e3ca9 Signed-off-by: Bernhard Rosenkraenzer --- core/combo/TARGET_linux-arm.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 += \ -- cgit v1.2.3