aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-04-23 00:09:29 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-25 12:24:39 +0200
commit554e6f6b479aca196f52e1fbc6371d7a27d029c8 (patch)
treef0a77943a32fd630a8c89b4a3563017ae0d40db8
parent37abe7c5dec25d077b4fde2df112f420d6ec1c69 (diff)
downloadvis-554e6f6b479aca196f52e1fbc6371d7a27d029c8.tar.gz
vis-554e6f6b479aca196f52e1fbc6371d7a27d029c8.tar.xz
build: (re)enable pie build
This reverts commit d6effd021d2aa2b6c452f229046a85c5f1a252a7.
-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... "