diff --git a/Makefile b/Makefile index a6e3c4d..7c25d8a 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ basic_flags := -std=c99 -pipe -Wall -Wpedantic -Wextra -Werror=implicit-function-declaration -D_XOPEN_SOURCE_EXTENDED=1 -debug_flags := -DDEBUG -O0 -ggdb -feliminate-unused-debug-symbols +debug_flags := -DDEBUG -Og -ggdb -feliminate-unused-debug-symbols sanitize_flags := -fsanitize=address -fsanitize=undefined # note: -fsanitize=leak not available on at least Mac 10.12 release_flags := -DNDEBUG -O2 -s -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fpie -Wl,-pie