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 1
- < #!/bin/sh
1
+ #! /bin/sh
2
2
3
3
msg () {
4
4
echo " configure: $1 "
@@ -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 1 "build with extra debug fun"
537
+ opt debug-assertions 1 " 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,10 +126,10 @@ endif
126
126
127
127
CFG_JEMALLOC_FLAGS += $(JEMALLOC_FLAGS )
128
128
129
- ifdef CFG_DISABLE_DEBUG
129
+ ifdef CFG_DISABLE_DEBUG_ASSERTIONS
130
130
CFG_RUSTC_FLAGS += --cfg ndebug
131
131
else
132
- $(info cfg : enabling more debugging (CFG_ENABLE_DEBUG ))
132
+ $(info cfg : enabling more debugging (CFG_ENABLE_DEBUG_ASSERTIONS ))
133
133
CFG_RUSTC_FLAGS += --cfg debug -C debug-assertions=on
134
134
endif
135
135
You can’t perform that action at this time.
0 commit comments