aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/android
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/android')
-rwxr-xr-xpackaging/android/build.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index 4cc29e8df..e5c10562e 100755
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -182,8 +182,7 @@ $QMAKE ../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
-mv Makefile Makefile.bak
-cat Makefile.bak | sed -e 's/std=c++1z/std=c++11/g ; s/-Wdate-time//' > Makefile
+sed -i.bak -e 's/std=c++1z/std=c++11/g ; s/-Wdate-time//' Makefile
make -j4
QT_PLUGINS_PATH=`$QMAKE -query QT_INSTALL_PLUGINS`
GOOGLEMAPS_BIN=libqtgeoservices_googlemaps.so