summaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
Diffstat (limited to 'compile')
-rwxr-xr-xcompile2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile b/compile
index d3aa259..1e9812d 100755
--- a/compile
+++ b/compile
@@ -25,7 +25,7 @@ stdflags="-std=c2x -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
dbg=0
if [ "$dbg" = 1 ]; then
- cflags="-O0 -g3"
+ cflags="-O0 -g3 -fsanitize-trap=undefined"
ldflags="-O0 -g3"
else
cflags="-O2 -fvisibility=hidden"