From 425decdf7e9284d15aa726e3ae96b9942fb0e3ea Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Sun, 16 Feb 2020 03:40:06 +0000 Subject: create tremded branch --- cmake/debug_cflags | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 cmake/debug_cflags (limited to 'cmake/debug_cflags') diff --git a/cmake/debug_cflags b/cmake/debug_cflags new file mode 100644 index 0000000..d383256 --- /dev/null +++ b/cmake/debug_cflags @@ -0,0 +1,4 @@ +# vim:ft=cmake +set(DEBUG_FLAGS "-O0 -g3 -fsanitize=address -fsanitize-blacklist=${CMAKE_SOURCE_DIR}/misc/blacklist.txt -fno-omit-frame-pointer") +set(CMAKE_C_FLAGS_DEBUG ${DEBUG_FLAGS}) +set(CMAKE_CXX_FLAGS_DEBUG ${DEBUG_FLAGS}) -- cgit