Skip to content

Commit

Permalink
Remove redundant cxxflags
Browse files Browse the repository at this point in the history
Allow building with gcc
  • Loading branch information
berkus authored Jun 30, 2017
1 parent 4c0efe2 commit 4f86713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ echo "===================================================================="
mkdir -p build/llvmR
if [ ! -f build/llvmR/.config.succeeded ]; then
cd build/llvmR && \
cmake -DCMAKE_BUILD_TYPE=Release -G Ninja -DCMAKE_INSTALL_PREFIX=$TOOLCHAIN_DIR/clang -DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++" -DLLVM_ENABLE_CXX1Y=ON -DLLVM_TARGETS_TO_BUILD=$LLVM_TARGETS -DLLVM_TARGET_ARCH=X86 -DLLVM_CREATE_XCODE_TOOLCHAIN=$BUILD_XCODE ../../sources/llvm && \
cmake -DCMAKE_BUILD_TYPE=Release -G Ninja -DCMAKE_INSTALL_PREFIX=$TOOLCHAIN_DIR/clang -DLLVM_ENABLE_CXX1Y=ON -DLLVM_TARGETS_TO_BUILD=$LLVM_TARGETS -DLLVM_TARGET_ARCH=X86 -DLLVM_CREATE_XCODE_TOOLCHAIN=$BUILD_XCODE ../../sources/llvm && \
touch .config.succeeded && \
cd ../.. || exit 1
else
Expand Down

0 comments on commit 4f86713

Please sign in to comment.