Don't add -fPIC if already present.
Brendan O'Dea [Sat, 11 Feb 2006 00:37:15 +0000 (11:37 +1100)]
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

hints/linux.sh

index c894fde..b2bcf84 100644 (file)
@@ -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
        ;;