From 554e6f6b479aca196f52e1fbc6371d7a27d029c8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sat, 23 Apr 2016 00:09:29 +0200 Subject: build: (re)enable pie build This reverts commit d6effd021d2aa2b6c452f229046a85c5f1a252a7. --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 471362b..dfad773 100755 --- a/configure +++ b/configure @@ -225,7 +225,9 @@ tryflag CFLAGS -fPIE tryflag CFLAGS_AUTO -fstack-protector-all tryldflag LDFLAGS -Wl,-z,now tryldflag LDFLAGS -Wl,-z,relro -#tryldflag LDFLAGS_AUTO -pie +# You can not link libraries with -pie (unless you add a main() function). +# So keep this a vis-only flag. +tryldflag LDFLAGS_AUTO -pie printf "creating config.mk... " -- cgit v1.2.3