From 038b1ee84f2d1e79f3ce64f5c49144b94c654cb0 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sat, 10 Oct 2020 22:30:17 +0200 Subject: [PATCH] Update setup_variables.sh --- travis/setup_variables.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/travis/setup_variables.sh b/travis/setup_variables.sh index be7461d..dbd0762 100755 --- a/travis/setup_variables.sh +++ b/travis/setup_variables.sh @@ -37,6 +37,8 @@ elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export JAVA_HOME="$(/usr/libexec/java_home -v 14)" export JAVA_INCLUDE_PATH="$(/usr/libexec/java_home -v 14)/include" export CPU_CORES=" -- -j${CPU_CORES_NUM}" + export CXXFLAGS="-stdlib=libc++" + export CFLAGS="-stdlib=libc++" elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CMAKE_EXTRA_ARGUMENTS="" export TRAVIS_CPU_ARCH_JAVA="$(tr '[:upper:]' '[:lower:]'<<<"${TRAVIS_CPU_ARCH}")"