aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorii14 <ii14@users.noreply.github.com>2023-03-16 19:24:04 +0100
committerii14 <ii14@users.noreply.github.com>2023-03-17 03:40:57 +0100
commit17ce634b8f44e218270ee472599edf4cf3ba0fac (patch)
tree14f758de27080c9337ca1ec9071496238ec6dabb /contrib
parent5bad9afed2189f3716865da42c66133d1f6da218 (diff)
downloadrneovim-17ce634b8f44e218270ee472599edf4cf3ba0fac.tar.gz
rneovim-17ce634b8f44e218270ee472599edf4cf3ba0fac.tar.bz2
rneovim-17ce634b8f44e218270ee472599edf4cf3ba0fac.zip
build!: rename sanitizer options from CLANG_* to ENABLE_*
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/asan.sh2
-rw-r--r--contrib/flake.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/asan.sh b/contrib/asan.sh
index 7e7dffa1af..baf7abb5a8 100755
--- a/contrib/asan.sh
+++ b/contrib/asan.sh
@@ -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
diff --git a/contrib/flake.nix b/contrib/flake.nix
index 3884ee9a2b..75c94392e1 100644
--- a/contrib/flake.nix
+++ b/contrib/flake.nix
@@ -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"
];
});
};