Skip to content

Commit 8545d2c

Browse files
committed
configure: Disable LLVM asserts by default
1 parent 2cdfd37 commit 8545d2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ opt optimize-cxx 1 "build optimized C++ code"
533533
opt optimize-llvm 1 "build optimized LLVM"
534534
opt optimize-tests 1 "build tests with optimizations"
535535
opt libcpp 1 "build with llvm with libc++ instead of libstdc++ when using clang"
536-
opt llvm-assertions 1 "build LLVM with assertions"
536+
opt llvm-assertions 0 "build LLVM with assertions"
537537
opt debug-assertions 0 "build with debugging assertions"
538538
opt fast-make 0 "use .gitmodules as timestamp for submodule deps"
539539
opt ccache 0 "invoke gcc/clang via ccache to reuse object files between builds"
@@ -1170,7 +1170,7 @@ do
11701170
LLVM_DBG_OPTS="--enable-optimized"
11711171
LLVM_INST_DIR=$LLVM_BUILD_DIR/Release
11721172
fi
1173-
if [ ! -z "$CFG_DISABLE_LLVM_ASSERTIONS" ]
1173+
if [ -z "$CFG_ENABLE_LLVM_ASSERTIONS" ]
11741174
then
11751175
LLVM_ASSERTION_OPTS="--disable-assertions"
11761176
else

0 commit comments

Comments
 (0)