gentoo/dev-lang/gforth/files/gforth-0.7.3-rdynamic-auto.patch
Sergei Trofimovich b7d5d123f7
dev-lang/gforth: fix clang build (use -rdynamic)
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>
2021-01-03 18:35:07 +00:00

17 lines
634 B
Diff

--- a/configure
+++ b/configure
@@ -4721,10 +4733,10 @@ test "$make_type" = "GNU Make" && GNUMAKE=''
$as_echo "$make_type" >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -export-dynamic" >&5
-$as_echo_n "checking whether the linker accepts -export-dynamic... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -rdynamic" >&5
+$as_echo_n "checking whether the linker accepts -rdynamic... " >&6; }
OLDLDFLAGS=$LDFLAGS
-LDFLAGS="$LDFLAGS -export-dynamic"
+LDFLAGS="$LDFLAGS -rdynamic"
if test "$cross_compiling" = yes; then :
ac_export_dynamic=no
else