Skip to content

Commit

Permalink
Check for TRAVIS_COMPILER instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Jan 6, 2020
1 parent 6533779 commit 3ed16f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -19,7 +19,7 @@ script: |
set -e
set -x
export CFLAGS="-Wno-deprecated-declarations -Wdeclaration-after-statement -Wno-error=unused-variable"
if [ "$CC" == "gcc" ] ; then
if [ "$TRAVIS_COMPILER" == "gcc" ] ; then
./configure --with-quantum-depth=16 --enable-hdri=no --without-perl --prefix=/usr
else
./configure --disable-openmp --with-quantum-depth=16 --enable-hdri=no --without-perl --prefix=/usr
Expand Down

0 comments on commit 3ed16f0

Please sign in to comment.