commit 856cbe279268d18953bde240a8678ffd47f5d6e9
parent 32ddb37284aaa9ae1645ea78e496a6b32633c6c5
Author: Joris Vink <joris@coders.se>
Date: Wed, 15 Jun 2022 14:45:05 +0200
remove address sanitizer as the default
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -11,10 +11,9 @@ SRC= secnote.c
CFLAGS+=-Wall -Wextra -Werror -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=-Wsign-compare -std=c99 -pedantic
-CFLAGS+=-fsanitize=address -fstack-protector-all
+CFLAGS+=-fstack-protector-all
CFLAGS+=$(shell pkg-config openssl --cflags)
-LDFLAGS+=-fsanitize=address
LDFLAGS+=$(shell pkg-config openssl --libs)
OSNAME=$(shell uname -s | sed -e 's/[-_].*//g' | tr A-Z a-z)