summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-hints_solaris__2.sh
blob: 7a5fbb3619633534aebecf500544394ef1820862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-hints_solaris__2.sh,v 1.1 2015/05/15 14:32:27 ryoon Exp $

Redo PR pkg/44999.

--- hints/solaris_2.sh.orig	2014-12-27 11:48:52.000000000 +0000
+++ hints/solaris_2.sh
@@ -622,7 +622,7 @@ EOM
 		# use that with Solaris 11 and later, but keep
 		# the old behavior for older Solaris versions.
 		case "$osvers" in
-			2.?|2.10) lddlflags="$lddlflags -G -m64" ;;
+			2.?|2.10) lddlflags="$lddlflags -shared -m64" ;;
 			*) lddlflags="$lddlflags -shared -m64" ;;
 		esac
 		;;