From 4f850e2aa556bec262069c8c603e83824811e944 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Thu, 23 Jun 2016 22:56:26 +0200 Subject: Build Subsurface c++ as c++11 code With Qt 5.7, they started to require c++11 support, and in 5.6.1 some nullptr's showed up in QtAndroidExtras/qandroidfunctions.h, so now we need to compile our c++ code with c++11 support in our compiler. As Thiago pointed out, this effectively "downgrades" GCC 6 from c++14 support to c++11. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- packaging/android/build.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'packaging/android') diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 3b796b826..bd24f18de 100644 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -335,7 +335,6 @@ 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 \ -- cgit v1.2.3-70-g09d2