summaryrefslogtreecommitdiff
path: root/hints/linux.sh
diff options
context:
space:
mode:
authorBrendan O'Dea <bod@debian.org>2006-02-11 11:37:15 +1100
committerGisle Aas <gisle@activestate.com>2006-02-17 21:21:05 +0000
commit4cd664023ef35f7e0d7875e942c9b13e8b794b0f (patch)
treedafcd0a14e0502b4796e11f7bba69c1cae3cdc90 /hints/linux.sh
parent7be0a92d7b766f4846554b78d49910f80158b3cc (diff)
downloadperl-4cd664023ef35f7e0d7875e942c9b13e8b794b0f.tar.gz
Don't add -fPIC if already present.
Subject: [PATCH] 5.8.8: Debian patches From: "Brendan O'Dea" <bod@debian.org> Message-ID: <20060210133715.GA6826@londo.c47.org> p4raw-id: //depot/perl@27212
Diffstat (limited to 'hints/linux.sh')
-rw-r--r--hints/linux.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index c894fde67c..b2bcf847b1 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -260,6 +260,7 @@ case "`uname -m`" in
sparc*)
case "$cccdlflags" in
*-fpic*) cccdlflags="`echo $cccdlflags|sed 's/-fpic/-fPIC/'`" ;;
+ *-fPIC*) ;;
*) cccdlflags="$cccdlflags -fPIC" ;;
esac
;;