* Makefile (GCC_INSTRUMENT): Switch from
-fsanitize-undefined-trap-on-error to its shorter alias
-fsanitize-trap=all, introduced in GCC 14.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index f57042df..3b259c80 100644
--- a/Makefile
+++ b/Makefile
@@ -380,7 +380,7 @@ LDLIBS=
 # Select instrumentation via "make GCC_INSTRUMENT='whatever'".
 GCC_INSTRUMENT = \
   -fsanitize=undefined -fsanitize-address-use-after-scope \
-  -fsanitize-undefined-trap-on-error -fstack-protector
+  -fsanitize-trap=all -fstack-protector
 # Omit -fanalyzer from GCC_DEBUG_FLAGS, as it makes GCC too slow.
 GCC_DEBUG_FLAGS = -DGCC_LINT -g3 -O3 \
   $(GCC_INSTRUMENT) \
-- 
2.51.0

Reply via email to