build: trap on signed wraparound
This commit is contained in:
parent
81ccdcf8ef
commit
39da295789
@ -21,6 +21,8 @@ AC_DEFUN([NC_DEBUGGING],[
|
||||
|
||||
AX_APPEND_LINK_FLAGS([-lasan], [], [-Werror])
|
||||
AX_APPEND_LINK_FLAGS([-lubsan], [], [-Werror])
|
||||
|
||||
AX_APPEND_COMPILE_FLAGS([-ftrapv], [], [-Werror])
|
||||
])
|
||||
|
||||
##-------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user