aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/android/build.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-06-22 13:23:10 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-06-22 13:23:10 -0700
commit2c60e87b09f8bbef8031622cf3537b954809a829 (patch)
tree0c40500f95cbe1407201d8a93e51c092ffcb5314 /packaging/android/build.sh
parent54b97ec848e4e8141620e9f0ebd9e449ca6a30a9 (diff)
downloadsubsurface-2c60e87b09f8bbef8031622cf3537b954809a829.tar.gz
Qt 5.7 requires C++11
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/android/build.sh')
-rw-r--r--packaging/android/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index 2213780c3..4d08f30ae 100644
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -333,6 +333,7 @@ fi
PKGCONF=$(which pkg-config)
cmake $MOBILE_CMAKE \
+ -DCMAKE_CXX_FLAGS="-std=c++11" \
-DQT_ANDROID_ANT=${ANT} \
-DPKG_CONFIG_EXECUTABLE=${PKGCONF} \
-DQT_ANDROID_SDK_ROOT=$ANDROID_SDK_ROOT \