瀏覽代碼

Linker flags don't work.

main
offa 7 年之前
父節點
當前提交
6bfd346c4a
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      script/ci_build.sh

+ 1
- 2
script/ci_build.sh 查看文件

@@ -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…
取消
儲存