debug 538 B

12345678910111213141516171819
  1. _SANITIZE__="-fsanitize-address-use-after-scope \
  2. -fsanitize=leak -fsanitize=undefined \
  3. -fno-omit-frame-pointer -fno-optimize-sibling-calls \
  4. -fsanitize=address,undefined,pointer-subtract,pointer-compare
  5. "
  6. _DEBUG_CFLAGS__="-O0 -ggdb -g3 ${_SANITIZE__}"
  7. _DEBUG_LDFLAGS__="${_SANITIZE__}"
  8. CFLAGS="${CFLAGS} ${_DEBUG_CFLAGS__}"
  9. CXXFLAGS="${CXXFLAGS} ${_DEBUG_CFLAGS__}"
  10. FCFLAGS="${FCFLAGS} ${_DEBUG_CFLAGS__}"
  11. FFLAGS="${FFLAGS} ${_DEBUG_CFLAGS__}"
  12. LDFLAGS="${LDFLAGS} ${_DEBUG_LDFLAGS__}"
  13. FEATURES="${FEATURES} nostrip"