summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/readline/files/5.0-solaris.patch')
-rw-r--r--sys-libs/readline/files/5.0-solaris.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/sys-libs/readline/files/5.0-solaris.patch b/sys-libs/readline/files/5.0-solaris.patch
deleted file mode 100644
index 927bac5c202b..000000000000
--- a/sys-libs/readline/files/5.0-solaris.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-fixup solaris linker options
-
-http://bugs.gentoo.org/show_bug.cgi?id=81058
-
---- support/shobj-conf.orig
-+++ support/shobj-conf
-@@ -78,10 +78,14 @@
- sunos5*-*gcc*|solaris2*-*gcc*)
- SHOBJ_CFLAGS=-fpic
- SHOBJ_LD='${CC}'
-- # This line works for the Solaris linker in /usr/ccs/bin/ld
-- SHOBJ_LDFLAGS='-shared -Wl,-i -Wl,-h,$@'
-- # This line works for the GNU ld
--# SHOBJ_LDFLAGS='-shared -Wl,-h,$@'
-+ ld_used=`gcc -print-prog-name=ld`
-+ if ${ld_used} -V 2>&1 | grep -q GNU; then
-+ # This line works for the GNU ld
-+ SHOBJ_LDFLAGS='-shared -Wl,-h,$@'
-+ else
-+ # This line works for the Solaris linker in /usr/ccs/bin/ld
-+ SHOBJ_LDFLAGS='-shared -Wl,-i -Wl,-h,$@'
-+ fi
-
- # SHLIB_XLDFLAGS='-R $(libdir)'
- SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)'