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

@@ -4,12 +4,11 @@ set -ex

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

mkdir build && cd build

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


Loading…
Cancel
Save