Mercurial > dropbear
diff configure.ac @ 1431:793c43cf523e fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 24 Jun 2017 10:34:19 +0800 |
parents | 69862e8cc405 a097c9c9608a |
children | 4afde04f0607 |
line wrap: on
line diff
--- a/configure.ac Sat Jun 24 00:47:07 2017 +0800 +++ b/configure.ac Sat Jun 24 10:34:19 2017 +0800 @@ -58,7 +58,15 @@ LDFLAGS="$LDFLAGS $TESTFLAGS" AC_LINK_IFELSE([AC_LANG_PROGRAM([])], [AC_MSG_NOTICE([Setting $TESTFLAGS])], - [AC_MSG_NOTICE([Not setting $TESTFLAGS]); LDFLAGS="$OLDLDFLAGS" ] + [ + LDFLAGS="$OLDLDFLAGS" + TESTFLAGS="-pie" + LDFLAGS="$LDFLAGS $TESTFLAGS" + AC_LINK_IFELSE([AC_LANG_PROGRAM([])], + [AC_MSG_NOTICE([Setting $TESTFLAGS])], + [AC_MSG_NOTICE([Not setting $TESTFLAGS]); LDFLAGS="$OLDLDFLAGS" ] + ) + ] ) # readonly elf relocation sections (relro) OLDLDFLAGS="$LDFLAGS"