summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-06-09 15:53:04 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-06-09 15:53:04 +0000
commitddc9e3fe2356d9d5c59f16c8654447ce4580fea0 (patch)
treeb508d7d6e6352b20f1b49b1cdbbf8e1e8fd8ca50 /eclass/ELT-patches
parentRails 2.2 has been removed. (diff)
downloadgentoo-2-ddc9e3fe2356d9d5c59f16c8654447ce4580fea0.tar.gz
gentoo-2-ddc9e3fe2356d9d5c59f16c8654447ce4580fea0.tar.bz2
gentoo-2-ddc9e3fe2356d9d5c59f16c8654447ce4580fea0.zip
Add a gold-specific patch when gold is used as linker, as only libtool 2.2.7 and later actually report it properly. Check two parents directories for configure as sometimes it would otherwise fail (libarchive), and make the debug log a bit more useful by appending rather than replacing and adding the name of the patch/file it gets tested on.
Diffstat (limited to 'eclass/ELT-patches')
-rw-r--r--eclass/ELT-patches/gold-conf/2.2.610
1 files changed, 10 insertions, 0 deletions
diff --git a/eclass/ELT-patches/gold-conf/2.2.6 b/eclass/ELT-patches/gold-conf/2.2.6
new file mode 100644
index 000000000000..048cbad01187
--- /dev/null
+++ b/eclass/ELT-patches/gold-conf/2.2.6
@@ -0,0 +1,10 @@
+--- configure.orig
++++ configure
+@@ -9933,6 +9933,7 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
+ fi
+ supports_anon_versioning=no
+ case `$LD -v 2>&1` in
++ *GNU\ gold*) supports_anon_versioning=yes ;;
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...