aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-05-21 21:14:55 +0200
committerAmit Pundir <amit.pundir@linaro.org>2013-02-13 10:38:36 +0530
commitdee358b27926e953f3e3f5904f90056a6ef1abd7 (patch)
tree8812b364094d299a9f5ef8825a304917ae976093
parent6634bec30a1afab7d6b2d0c68daf85780c0455f2 (diff)
downloadbuild-dee358b27926e953f3e3f5904f90056a6ef1abd7.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 b4efcd1e41..c3c6d568c4 100644
--- a/core/combo/TARGET_linux-arm.mk
+++ b/core/combo/TARGET_linux-arm.mk
@@ -153,7 +153,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 += \