Replace -ftrapv with -fsanitize=signed-integer-overflow
This commit is contained in:
parent
09b1d07d8b
commit
5641d0c837
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
PREFIX=/usr/local
|
||||
VERSION=0.12.1
|
||||
CCONFIG=-std=c11 -Werror -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -fPIC -ftrapv -fvisibility=hidden \
|
||||
CCONFIG=-std=c11 -Werror -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -fPIC -fsanitize=signed-integer-overflow -fno-sanitize-recover -fvisibility=hidden \
|
||||
-flto=auto -fno-fat-lto-objects -Wl,-flto -fdollars-in-identifiers
|
||||
LDFLAGS=-Wl,-rpath '-Wl,$$ORIGIN'
|
||||
# MAKEFLAGS := --jobs=$(shell nproc) --output-sync=target
|
||||
|
Loading…
Reference in New Issue
Block a user