mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-12 02:27:28 -08:00
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/729874 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
15 lines
578 B
Diff
15 lines
578 B
Diff
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -191,9 +191,9 @@ test "$make_type" = "GNU Make" && GNUMAKE=''
|
|
AC_MSG_RESULT($make_type)
|
|
AC_SUBST(GNUMAKE)
|
|
|
|
-AC_MSG_CHECKING([whether the linker accepts -export-dynamic])
|
|
+AC_MSG_CHECKING([whether the linker accepts -rdynamic])
|
|
OLDLDFLAGS=$LDFLAGS
|
|
-LDFLAGS="$LDFLAGS -export-dynamic"
|
|
+LDFLAGS="$LDFLAGS -rdynamic"
|
|
dnl AC_TRY_LINK gives false positive on rs6000-ibm-aix4.2.1.0
|
|
dnl AC_TRY_LINK(,,ac_export_dynamic=yes,ac_export_dynamic=no)
|
|
AC_TRY_RUN(main(){exit(0);},ac_export_dynamic=yes,ac_export_dynamic=no,ac_export_dynamic=no)
|