vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 8e838f078375acf367a972ff30574df808195245 parent d32b37b4790e9bb0f24016cf8de2402c6fcfd370 Author: Marc André Tanner <mat@brain-dump.org> Date: Sun, 6 Mar 2016 21:50:02 +0100 build: remove hardening compiler flags for now They do not seem to be supported on all platforms (e.g. FreeBSD). Users who know what they are doing can still provide them via the regular $CFLAGS mechanism. Eventually these should be tested by a handwritten configure script and added to config.mk iff they are supported by the toolchain. Diffstat:
| M | config.mk | | | 9 | --------- |
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git a/config.mk b/config.mk @@ -66,12 +66,3 @@ DEBUG_CFLAGS_VIS = ${CFLAGS_VIS} -UNDEBUG -O0 -g -ggdb -Wall -Wextra -pedantic - CC ?= cc STRIP ?= strip - -# Hardening -ifeq (${CC},gcc) - CFLAGS += -fPIC -fstack-protector-all -D_FORTIFY_SOURCE=2 - LDFLAGS += -z now -z relro -pie -else ifeq (${CC},clang) - CFLAGS += -fPIE -fstack-protector-all -D_FORTIFY_SOURCE=2 - LDFLAGS += -z now -z relro -pie -endif