Update setup_variables.sh
This commit is contained in:
parent
ee7a0e69ac
commit
16bf45962f
@ -42,7 +42,7 @@ elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|||||||
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
if [[ "$CPU_ARCHITECTURE_NAME" = "aarch64" ]]; then
|
if [[ "$CPU_ARCHITECTURE_NAME" = "aarch64" ]]; then
|
||||||
export CMAKE_EXTRA_ARGUMENTS=""
|
export CMAKE_EXTRA_ARGUMENTS=""
|
||||||
export CXXFLAGS="-stdlib=libc++"
|
export CXXFLAGS="-static-libgcc -static-libstdc++"
|
||||||
else
|
else
|
||||||
export CMAKE_EXTRA_ARGUMENTS="-DOPENSSL_USE_STATIC_LIBS=ON -DCMAKE_FIND_LIBRARY_SUFFIXES=\".a\""
|
export CMAKE_EXTRA_ARGUMENTS="-DOPENSSL_USE_STATIC_LIBS=ON -DCMAKE_FIND_LIBRARY_SUFFIXES=\".a\""
|
||||||
export CXXFLAGS="-static-libgcc -static-libstdc++"
|
export CXXFLAGS="-static-libgcc -static-libstdc++"
|
||||||
|
Loading…
Reference in New Issue
Block a user