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

set -ex set -ex


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


mkdir build && cd build mkdir build && cd build


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



Loading…
Cancel
Save