File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -534,7 +534,7 @@ opt optimize-llvm 1 "build optimized LLVM"
534
534
opt optimize-tests 1 " build tests with optimizations"
535
535
opt libcpp 1 " build with llvm with libc++ instead of libstdc++ when using clang"
536
536
opt llvm-assertions 1 " build LLVM with assertions"
537
- opt debug-assertions 1 " build with extra debug fun"
537
+ opt debug-assertions 0 " build with extra debug fun"
538
538
opt fast-make 0 " use .gitmodules as timestamp for submodule deps"
539
539
opt ccache 0 " invoke gcc/clang via ccache to reuse object files between builds"
540
540
opt local-rust 0 " use an installed rustc rather than downloading a snapshot"
Original file line number Diff line number Diff line change @@ -126,11 +126,11 @@ endif
126
126
127
127
CFG_JEMALLOC_FLAGS += $(JEMALLOC_FLAGS )
128
128
129
- ifdef CFG_DISABLE_DEBUG_ASSERTIONS
130
- CFG_RUSTC_FLAGS += --cfg ndebug
131
- else
129
+ ifdef CFG_ENABLE_DEBUG_ASSERTIONS
132
130
$(info cfg : enabling more debugging (CFG_ENABLE_DEBUG_ASSERTIONS))
133
131
CFG_RUSTC_FLAGS += --cfg debug -C debug-assertions=on
132
+ else
133
+ CFG_RUSTC_FLAGS += --cfg ndebug
134
134
endif
135
135
136
136
ifdef SAVE_TEMPS
You can’t perform that action at this time.
0 commit comments