aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
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... "