It broke compilation on OpenBSD.
This commit is contained in:
Frank Denis 2015-01-15 16:21:09 +01:00
parent 9a386d0a6d
commit 2c15c81ba5

View File

@ -159,16 +159,10 @@ AS_CASE([$host_os], [cygwin*|mingw*|msys|pw32*|cegcc*], [ ], [
AS_IF([test "$enable_pie" != "no"],[ AS_IF([test "$enable_pie" != "no"],[
AX_CHECK_COMPILE_FLAG([-fPIE], [ AX_CHECK_COMPILE_FLAG([-fPIE], [
AX_CHECK_LINK_FLAG([-fPIE], [ AX_CHECK_LINK_FLAG([-fPIE],
AX_CHECK_LINK_FLAG([-Wl,-pie], [ [AX_CHECK_LINK_FLAG([-pie],
CFLAGS="$CFLAGS -fPIE" [CFLAGS="$CFLAGS -fPIE"
LDFLAGS="$LDFLAGS -Wl,-pie" LDFLAGS="$LDFLAGS -pie"])
], [
AX_CHECK_LINK_FLAG([-pie], [
CFLAGS="$CFLAGS -fPIE"
LDFLAGS="$LDFLAGS -pie"
])
])
]) ])
]) ])
]) ])