diff options
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -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... " |
