ref: f0bf102bf431866912213e80e46983a31bd7e541
parent: d7777edfa593b32c444057c2f26b7109b5a5f3fe
author: cancel <cancel@cancel.fm>
date: Sat Nov 24 23:48:40 EST 2018
Remove -fsanitize=leak for Mac compat Should bring it back if/when we use a smarter build guy
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
basic_flags := -std=c99 -pipe -Wall -Wpedantic -Wextra -Werror=implicit-function-declaration
debug_flags := -DDEBUG -O0 -ggdb -feliminate-unused-debug-symbols
-sanitize_flags := -fsanitize=address -fsanitize=leak -fsanitize=undefined
+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
library_flags := -lncurses
source_files := field.c main.c