Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously the `Makefile` conditionally enabled address sanitizer (ASAN) based on whether the compiler was `clang`. Since GCC has supported address sanitizer since GCC 4.8[0] we can remove this check and always use ASAN for both supported compilers. The only snag is that I observed linker errors about undefined references to `__ubsan_handle_type_mismatch` unless I fix the `LDFLAGS` to also include `-fsanitize=undefined`. This was already included in the `CFLAGS`. [0]: https://github.com/google/sanitizers/wiki/AddressSanitizer#getting-addresssanitizer
- Loading branch information