diff --git a/devmode b/devmode index f9850f5..bdb3b63 100755 --- a/devmode +++ b/devmode @@ -1,4 +1,5 @@ # Script which sets up the CMake build for Debug mode. # After running, chdir to the build subdir ane run "make" mkdir build -cd build && cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-fsanitize=address" $@ +cd build && cmake .. -DCMAKE_BUILD_TYPE=Debug \ + -DCMAKE_CXX_FLAGS="-O1 -fsanitize=address -fno-omit-frame-pointer" $@