Commit 1d6cc9a8 authored by Richard M. Stallman's avatar Richard M. Stallman

Add -znocombreloc to LDFLAGS if supported.

parent c1cbc25a
......@@ -1273,6 +1273,18 @@ then
ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
dnl We need -znocombreloc if we're using a relatively recent GNU ld.
dnl If we can link with the flag, it shouldn't do any harm anyhow.
dnl (Don't use `-z nocombreloc' as -z takes no arg on Irix.)
LDFLAGS="$LDFLAGS -znocombreloc"
AC_MSG_CHECKING([For -znocombreloc])
AC_LINK_IFELSE([main(){return 0;}],
dnl checks for Unix variants
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment