Skip to content

Commit 071e22e

Browse files
committed
auto merge of #14673 : sylvestre/rust/master, r=alexcrichton
Remove a warning (./configure: 1140: [: unexpected operator) when built with --disable-manage-submodules
2 parents 566b7b9 + fec04d3 commit 071e22e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ do
11361136
CXXFLAGS=$LLVM_CXXFLAGS
11371137
LDFLAGS=$LLVM_LDFLAGS
11381138

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

0 commit comments

Comments
 (0)