From 1e621205343bc87e655802043e661d1d68f5c214 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 3 Aug 2017 07:34:55 -0700 Subject: build.sh: remove unsupported compiler options for googlemaps Trusty (Travis) doesn't support -std=c++1z and -Wdate-time - and the module doesn't need them. Signed-off-by: Dirk Hohndel --- scripts/build.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3-70-g09d2