From 8941f1138521317839e74dc55df275d584dc4350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 3 Dec 2016 15:15:58 +0100 Subject: build: do not define _FORTIFY_SOURCE for debug builds This avoids warnings like: "_FORTIFY_SOURCE requires compiling with optimization". --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 73e047a..3c9f746 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ CFLAGS_VIS += ${CFLAGS_DEBUG} LDFLAGS_VIS = $(LDFLAGS_AUTO) $(LDFLAGS_TERMKEY) $(LDFLAGS_CURSES) $(LDFLAGS_ACL) \ $(LDFLAGS_SELINUX) $(LDFLAGS_LUA) $(LDFLAGS_STD) -CFLAGS_DEBUG_ENABLE = -UNDEBUG -O0 -g -ggdb -Wall -Wextra -pedantic \ +CFLAGS_DEBUG_ENABLE = -U_FORTIFY_SOURCE -UNDEBUG -O0 -g -ggdb -Wall -Wextra -pedantic \ -Wno-missing-field-initializers -Wno-unused-parameter STRIP?=strip -- cgit v1.2.3