mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
build!: rename sanitizer options from CLANG_* to ENABLE_*
This commit is contained in:
@ -16,7 +16,7 @@ export ASAN_OPTIONS="detect_leaks=0:log_path=$log_path/asan"
|
||||
# Show backtraces in the logs.
|
||||
export UBSAN_OPTIONS="print_stacktrace=1"
|
||||
|
||||
make -C "$root_path" CMAKE_EXTRA_FLAGS="-DCLANG_ASAN_UBSAN=ON"
|
||||
make -C "$root_path" CMAKE_EXTRA_FLAGS="-DENABLE_ASAN_UBSAN=ON"
|
||||
VIMRUNTIME="$root_path"/runtime "$root_path"/build/bin/nvim
|
||||
|
||||
# Need to manually reset terminal to avoid mangled output, nvim does not
|
||||
|
@ -48,7 +48,7 @@
|
||||
] ++ final.lib.optionals final.stdenv.isLinux [
|
||||
# https://github.com/google/sanitizers/wiki/AddressSanitizerFlags
|
||||
# https://clang.llvm.org/docs/AddressSanitizer.html#symbolizing-the-reports
|
||||
"-DCLANG_ASAN_UBSAN=ON"
|
||||
"-DENABLE_ASAN_UBSAN=ON"
|
||||
];
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user