vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 4ca38395829a082ee6035458b1a34cf0d21d161f
parent 659558fcca65ed7c885dcd443a11884fd9330390
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sat,  3 Dec 2016 15:15:58 +0100

build: do not define _FORTIFY_SOURCE for debug builds

This avoids warnings like: "_FORTIFY_SOURCE requires
compiling with optimization".

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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