Browse Source

Clang Linkerflags.

main
offa 7 years ago
parent
commit
300faf40e8
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      script/ci_build.sh

+ 3
- 2
script/ci_build.sh View File

@@ -3,12 +3,13 @@
set -ex

if [[ "${CXX}" == clang* ]]; then
export CXXFLAGS="-stdlib=libc++ -lc++abi"
export CXXFLAGS="-stdlib=libc++"
EXTRA="-DCMAKE_EXE_LINKER_FLAGS=-lc++abi -lc++"
fi

mkdir build && cd build

cmake ..
cmake ${EXTRA} ..
make
make unittest


Loading…
Cancel
Save