diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-03 15:15:58 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-03 15:15:58 +0100 |
| commit | 8941f1138521317839e74dc55df275d584dc4350 (patch) | |
| tree | 26edd96d7f3ab3030bb93d1c50f5a93727f94ba5 | |
| parent | 5b181f782a1558380afe24331d2f1b3b82b6f8d8 (diff) | |
| download | vis-8941f1138521317839e74dc55df275d584dc4350.tar.gz vis-8941f1138521317839e74dc55df275d584dc4350.tar.xz | |
build: do not define _FORTIFY_SOURCE for debug builds
This avoids warnings like: "_FORTIFY_SOURCE requires
compiling with optimization".
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
