Browse Source

Linker flags don't work.

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

+ 1
- 2
script/ci_build.sh View File



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


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


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



Loading…
Cancel
Save