12345678910111213141516171819 |
- _SANITIZE__="-fsanitize-address-use-after-scope \
- -fsanitize=leak -fsanitize=undefined \
- -fno-omit-frame-pointer -fno-optimize-sibling-calls \
- -fsanitize=address,undefined,pointer-subtract,pointer-compare
- "
- _DEBUG_CFLAGS__="-O0 -ggdb -g3 ${_SANITIZE__}"
- _DEBUG_LDFLAGS__="${_SANITIZE__}"
- CFLAGS="${CFLAGS} ${_DEBUG_CFLAGS__}"
- CXXFLAGS="${CXXFLAGS} ${_DEBUG_CFLAGS__}"
- FCFLAGS="${FCFLAGS} ${_DEBUG_CFLAGS__}"
- FFLAGS="${FFLAGS} ${_DEBUG_CFLAGS__}"
- LDFLAGS="${LDFLAGS} ${_DEBUG_LDFLAGS__}"
- FEATURES="${FEATURES} nostrip"
|