Skip to content

Commit d35a380

Browse files
committed
auto merge of #14506 : luqmana/rust/fc, r=alexcrichton
This used to be clang only but accidentally became the default for everyone.
2 parents cb3c4f9 + 3b56724 commit d35a380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure

+2-2
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ opt optimize 1 "build optimized rust code"
406406
opt optimize-cxx 1 "build optimized C++ code"
407407
opt optimize-llvm 1 "build optimized LLVM"
408408
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"
410410
opt llvm-assertions 1 "build LLVM with assertions"
411411
opt debug 1 "build with extra debug fun"
412412
opt ratchet-bench 0 "ratchet benchmarks"
@@ -1136,7 +1136,7 @@ do
11361136
CXXFLAGS=$LLVM_CXXFLAGS
11371137
LDFLAGS=$LLVM_LDFLAGS
11381138

1139-
if [ "$CFG_DISABLE_LIBCPP" != 1 ]; then
1139+
if [ "$CFG_DISABLE_LIBCPP" != 1 ] && [ "$CFG_USING_CLANG" == 1 ]; then
11401140
LLVM_OPTS="$LLVM_OPTS --enable-libcpp"
11411141
fi
11421142

0 commit comments

Comments
 (0)