aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 1 insertions, 10 deletions
diff --git a/configure b/configure
index 56b204b..67f7dfd 100755
--- a/configure
+++ b/configure
@@ -137,7 +137,6 @@ case "$arg" in
--docdir=*) DOCDIR=${arg#*=} ;;
--mandir=*) MANDIR=${arg#*=} ;;
--environment-only) environmentonly=yes ;;
---static) static=yes ;;
--enable-help|--enable-help=yes) help=yes ;;
--disable-help|--enable-help=no) help=no ;;
--enable-curses|--enable-curses=yes) curses=yes ;;
@@ -245,15 +244,7 @@ tryflag CFLAGS -fPIE
tryflag CFLAGS_AUTO -fstack-protector-all
tryldflag LDFLAGS -Wl,-z,now
tryldflag LDFLAGS -Wl,-z,relro
-# in theory it should be perfectly fine to produce a staticically linked PIE
-# however in practice it is not yet properly supported by gcc:
-#
-# cc -fPIE -pie --static
-#
-# will always add a PT_INTERP referencing the dynamic loader/linker
-if test "$static" != "yes" || tryldflag LDFLAGS_AUTO -Wl,--no-dynamic-linker ; then
- tryldflag LDFLAGS_AUTO -pie
-fi
+tryldflag LDFLAGS_AUTO -pie
printf "creating config.mk... "