-pie also needs -fPIE (at least sometimes)

svn path=/trunk/; revision=46610
This commit is contained in:
Jeff Morriss 2012-12-19 03:50:52 +00:00
parent f35a7d2ba7
commit cb994b4f80
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ then
CFLAGS=$CFLAGS_before_pie
LDFLAGS_before_pie=$LDFLAGS
AC_WIRESHARK_LDFLAGS_CHECK([-pie])
AC_WIRESHARK_LDFLAGS_CHECK([-fPIE -pie])
if test "x$LDFLAGS" != "x$LDFLAGS_before_pie"
then
# We can use PIE