Try --high-entropy-va on MinGW

This commit is contained in:
Frank Denis 2015-12-27 20:53:08 +01:00
parent 342f209cbe
commit 953e959fba

View File

@ -198,6 +198,7 @@ AC_ARG_ENABLE(soname-versions,
AS_CASE([$host_os], AS_CASE([$host_os],
[cygwin*|mingw*|msys|pw32*|cegcc*], [ [cygwin*|mingw*|msys|pw32*|cegcc*], [
AX_CHECK_LINK_FLAG([-Wl,--dynamicbase], [LDFLAGS="$LDFLAGS -Wl,--dynamicbase"]) AX_CHECK_LINK_FLAG([-Wl,--dynamicbase], [LDFLAGS="$LDFLAGS -Wl,--dynamicbase"])
AX_CHECK_LINK_FLAG([-Wl,--high-entropy-va], [LDFLAGS="$LDFLAGS -Wl,--high-entropy-va"])
AX_CHECK_LINK_FLAG([-Wl,--nxcompat], [LDFLAGS="$LDFLAGS -Wl,--nxcompat"]) AX_CHECK_LINK_FLAG([-Wl,--nxcompat], [LDFLAGS="$LDFLAGS -Wl,--nxcompat"])
]) ])