diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2013-07-25 08:10:36 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2013-07-25 08:10:36 +0530 |
commit | 8d04347f084cb6995207b62df17ea11c0a172e38 (patch) | |
tree | 1b46af2e20277af2f1185aca294152dc957af76a | |
parent | 9649974225e06528bdeeb97f22cd60c20edf13bc (diff) | |
download | build-8d04347f084cb6995207b62df17ea11c0a172e38.tar.gz |
build/core: Build in ISOC++11 mode if possible
Add -std=gnu++11 if the compiler supports it
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | core/combo/TARGET_linux-arm.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk index b1c5cf9c3c..71447f790f 100644 --- a/core/combo/TARGET_linux-arm.mk +++ b/core/combo/TARGET_linux-arm.mk @@ -141,7 +141,7 @@ TARGET_GLOBAL_LDFLAGS += \ TARGET_GLOBAL_CFLAGS += -mthumb-interwork -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 += \ |