aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/perl/files/perl-5.8.8-solaris-relocation.patch')
-rw-r--r--dev-lang/perl/files/perl-5.8.8-solaris-relocation.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-lang/perl/files/perl-5.8.8-solaris-relocation.patch b/dev-lang/perl/files/perl-5.8.8-solaris-relocation.patch
new file mode 100644
index 0000000..f2df825
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-solaris-relocation.patch
@@ -0,0 +1,21 @@
+http://sourceware.org/ml/binutils/2005-12/msg00008.html
+--- hints/solaris_2.sh
++++ hints/solaris_2.sh
+@@ -289,7 +289,7 @@
+
+ END
+ ccdlflags="$ccdlflags -Wl,-E"
+- lddlflags="$lddlflags -Wl,-E -G"
++ lddlflags="$lddlflags -shared"
+ fi
+ fi
+
+@@ -555,7 +555,7 @@
+ : #ccflags="$ccflags -Wa,`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"
+ fi
+ ldflags="$ldflags -m64"
+- lddlflags="$lddlflags -G -m64"
++ lddlflags="$lddlflags -m64"
+ ;;
+ *)
+ ccflags="$ccflags `getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"