vis

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

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

commit 42c9ab464249f8501a26cb7abd39a80057b26db6
parent 35e1a4a8eeb26c0a221c6948c35f6b5e8d9abf59
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Mon, 25 Apr 2016 12:03:19 +0200

build: add more default flags to $CFLAGS instead of $CFLAGS_AUTO

This way we make sure the flags are in place when building
dependencies.

Diffstat:
Mconfigure | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/configure b/configure @@ -212,19 +212,19 @@ Darwin) CFLAGS_STD="$CFLAGS_STD -D_DARWIN_C_SOURCE" ;; AIX) CFLAGS_STD="$CFLAGS_STD -D_ALL_SOURCE" ;; esac -tryflag CFLAGS_AUTO -pipe +tryflag CFLAGS -pipe # Try flags to optimize binary size -tryflag CFLAGS_AUTO -Os -#tryflag CFLAGS_AUTO -ffunction-sections -#tryflag CFLAGS_AUTO -fdata-sections +tryflag CFLAGS -Os +#tryflag CFLAGS -ffunction-sections +#tryflag CFLAGS -fdata-sections #tryldflag LDFLAGS_AUTO -Wl,--gc-sections # Try hardening flags -tryflag CFLAGS_AUTO -fPIE +tryflag CFLAGS -fPIE tryflag CFLAGS_AUTO -fstack-protector-all -tryldflag LDFLAGS_AUTO -Wl,-z,now -tryldflag LDFLAGS_AUTO -Wl,-z,relro +tryldflag LDFLAGS -Wl,-z,now +tryldflag LDFLAGS -Wl,-z,relro #tryldflag LDFLAGS_AUTO -pie printf "creating config.mk... "