From f51aa41c23f42dbba3e7c481d880cf81f97c6b0f Mon Sep 17 00:00:00 2001 From: AurelienUoU Date: Mon, 3 Jun 2019 14:13:22 -0600 Subject: [PATCH] Correct gcc instantiation --- .travis/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis/common.sh b/.travis/common.sh index 28d3cb3f9..13694a6e2 100644 --- a/.travis/common.sh +++ b/.travis/common.sh @@ -36,8 +36,8 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then # Install header files in Mojave, if not gcc-4.9 cannot spot stdio.h sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / else - # For linux, we use g++-8 and gcc-8 as default compilers - export CC=gcc-8 - export CXX=g++-8 + # For linux, we use g++-6 and gcc-6 as default compilers + export CC=gcc-6 + export CXX=g++-6 fi