change '-pie' to '-Wl,-pie' to squash clang errors

This commit is contained in:
Jack Wink 2014-12-28 12:27:35 -05:00
parent 4cd1d03a28
commit 6ebf4030f8

View File

@ -162,7 +162,7 @@ AS_IF([test "$enable_pie" != "no"],[
AX_CHECK_LINK_FLAG([-fPIE],
[AX_CHECK_LINK_FLAG([-pie],
[CFLAGS="$CFLAGS -fPIE"
LDFLAGS="$LDFLAGS -pie"])
LDFLAGS="$LDFLAGS -Wl,-pie"])
])
])
])