diff options
| author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-01-03 18:34:51 +0000 |
|---|---|---|
| committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-01-03 18:35:07 +0000 |
| commit | b7d5d123f75de06cb3ea110788469f7c7a3a20b4 (patch) | |
| tree | e27b15128bebcf4e9540dd7d8d556c8c3417a0b3 /dev-lang/gforth/files/gforth-0.7.3-rdynamic-auto.patch | |
| parent | b668de83ad303e855f0bfa2a9c7a822724488cc9 (diff) | |
| download | gentoo-b7d5d123f75de06cb3ea110788469f7c7a3a20b4.tar.gz gentoo-b7d5d123f75de06cb3ea110788469f7c7a3a20b4.tar.bz2 gentoo-b7d5d123f75de06cb3ea110788469f7c7a3a20b4.zip | |
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>
Diffstat (limited to 'dev-lang/gforth/files/gforth-0.7.3-rdynamic-auto.patch')
| -rw-r--r-- | dev-lang/gforth/files/gforth-0.7.3-rdynamic-auto.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-lang/gforth/files/gforth-0.7.3-rdynamic-auto.patch b/dev-lang/gforth/files/gforth-0.7.3-rdynamic-auto.patch new file mode 100644 index 000000000000..8a5b65282907 --- /dev/null +++ b/dev-lang/gforth/files/gforth-0.7.3-rdynamic-auto.patch @@ -0,0 +1,16 @@ +--- 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 |
