File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ opt optimize 1 "build optimized rust code"
406
406
opt optimize-cxx 1 " build optimized C++ code"
407
407
opt optimize-llvm 1 " build optimized LLVM"
408
408
opt optimize-tests 1 " build tests with optimizations"
409
- opt libcpp 1 " build with clang's libcpp "
409
+ opt libcpp 1 " build with llvm with libc++ instead of libstdc++ when using clang "
410
410
opt llvm-assertions 1 " build LLVM with assertions"
411
411
opt debug 1 " build with extra debug fun"
412
412
opt ratchet-bench 0 " ratchet benchmarks"
1136
1136
CXXFLAGS=$LLVM_CXXFLAGS
1137
1137
LDFLAGS=$LLVM_LDFLAGS
1138
1138
1139
- if [ " $CFG_DISABLE_LIBCPP " != 1 ]; then
1139
+ if [ " $CFG_DISABLE_LIBCPP " != 1 ] && [ " $CFG_USING_CLANG " == 1 ] ; then
1140
1140
LLVM_OPTS=" $LLVM_OPTS --enable-libcpp"
1141
1141
fi
1142
1142
You can’t perform that action at this time.
0 commit comments