aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-05-21 21:14:55 +0200
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-05-21 21:14:55 +0200
commit7a8d835f4a43a0f30445c7c14d89f964fdb5b007 (patch)
tree1a72309e416fa15997ca7a64a2982eb3d2cc6fe3
parent9dd834f470dd18bc34996acd51496dee2a0d3859 (diff)
downloadbuild-7a8d835f4a43a0f30445c7c14d89f964fdb5b007.tar.gz
build/core: Build in ISOC++11 mode if possible
Add -std=gnu++11 if the compiler supports it Change-Id: Ied8b4487263172b678fd2912cfe428187b2edf95 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--core/combo/TARGET_linux-arm.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk
index 479a5e5619..b2565a6880 100644
--- a/core/combo/TARGET_linux-arm.mk
+++ b/core/combo/TARGET_linux-arm.mk
@@ -160,7 +160,7 @@ else
TARGET_GLOBAL_CFLAGS += -mno-thumb-interwork
endif
-TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden
+TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden $(call cc-option,-std=gnu++11)
# More flags/options can be added here
TARGET_RELEASE_CFLAGS += \