mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
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 <dirk@hohndel.org>
This commit is contained in:
parent
c979d9f166
commit
1e62120534
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue