From 874bfb8234ab1d3af08dea0ce4aa037cbddf996f Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Thu, 28 Apr 2011 22:01:49 +0200 Subject: Disable --as-needed on OpenBSD (bug #7546). --- m4macros/xdt-features.m4 | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'm4macros/xdt-features.m4') diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4 index eb017b0..41c7d90 100644 --- a/m4macros/xdt-features.m4 +++ b/m4macros/xdt-features.m4 @@ -195,16 +195,18 @@ AC_DEFUN([XDT_FEATURE_LINKER_OPTS], [enable_linker_opts=$enableval], [enable_linker_opts=yes]) if test "x$enable_linker_opts" != "xno"; then - AC_MSG_CHECKING([whether $LD accepts --as-needed]) - case `$LD --as-needed -v 2>&1 &1 &1