Skip to content

Commit 11681aa

Browse files
committed
Shorten GCC_INSTRUMENT à la GCC 14
* Makefile (GCC_INSTRUMENT): Switch from -fsanitize-undefined-trap-on-error to its shorter alias -fsanitize-trap=all, introduced in GCC 14.
1 parent 3c32d87 commit 11681aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ LDLIBS=
380380
# Select instrumentation via "make GCC_INSTRUMENT='whatever'".
381381
GCC_INSTRUMENT = \
382382
-fsanitize=undefined -fsanitize-address-use-after-scope \
383-
-fsanitize-undefined-trap-on-error -fstack-protector
383+
-fsanitize-trap=all -fstack-protector
384384
# Omit -fanalyzer from GCC_DEBUG_FLAGS, as it makes GCC too slow.
385385
GCC_DEBUG_FLAGS = -DGCC_LINT -g3 -O3 \
386386
$(GCC_INSTRUMENT) \

0 commit comments

Comments
 (0)