diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-09-25 20:44:13 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-09-25 20:44:13 +0200 |
| commit | bf2c2b26c68c36cb51624808bc5948e6afaaa4d6 (patch) | |
| tree | 151f3eea0f225483dcdb47130e222fff08028cc1 /travis | |
| parent | 6ed53b7a8c635fc404f193c1a99ea73418b9b343 (diff) | |
| download | PROJ-bf2c2b26c68c36cb51624808bc5948e6afaaa4d6.tar.gz PROJ-bf2c2b26c68c36cb51624808bc5948e6afaaa4d6.zip | |
travis/install.sh: add a way of detecting problematic use of CS identifier for Solaris compat
Diffstat (limited to 'travis')
| -rwxr-xr-x | travis/install.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/travis/install.sh b/travis/install.sh index 0eaff801..c41dc014 100755 --- a/travis/install.sh +++ b/travis/install.sh @@ -31,6 +31,9 @@ TAR_DIRECTORY=`basename $TAR_FILENAME .tar.gz` tar xvzf $TAR_FILENAME cd $TAR_DIRECTORY +# There's a nasty #define CS in a Solaris system header. Avoid being caught about that again +CXXFLAGS="-DCS=do_not_use_CS_for_solaris_compat $CXXFLAGS" + # autoconf build from generated tarball mkdir build_autoconf cd build_autoconf |
