aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-xscripts/build.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 23b978efa..6b214a866 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -451,9 +451,6 @@ if [ "$SKIP_GOOGLEMAPS" != "1" ] ; then
git checkout master
git pull --rebase
- # remove the qt_build_config from .qmake.conf as that fails on Travis
- sed -i '' 's/.*qt_build_config.*//' .qmake.conf
-
mkdir -p build
cd build
$QMAKE -query
@@ -461,7 +458,8 @@ if [ "$SKIP_GOOGLEMAPS" != "1" ] ; then
# 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
+ mv Makefile Makefile.bak
+ cat Makefile.bak | sed -e 's/std=c++1z/std=c++11/g ; s/-Wdate-time//' > Makefile
make -j4
make install
fi