summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index e5d833341..02802b03c 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -450,6 +450,10 @@ else
QMAKE=qmake
fi
$QMAKE PREFIX=$INSTALL_ROOT ../googlemaps.pro
+# on Travis the compiler doesn't support c++1z, yet qmake adds that flag;
+# since things compile fine with c++11, let's just hack that away
+# similarly, don't use -Wdata-time
+sed -i 's/std=c++1z/std=c++11/g ; s/-Wdate-time//' Makefile
make -j4
make install