Subject: [perl #41595] [PATCH] 5.8.8 Use CFLAGS for all compiler invocations
From: Tom Callaway (via RT) <perlbug-followup@perl.org>
Date: Thu, 22 Feb 2007 19:33:45 -0800
Message-ID: <rt-3.6.HEAD-28041-
1172201625-659.41595-75-0@perl.org>
Subject: [perl #41589] [PATCH] 5.8.8 Linux needs -FPIC too
From: Tom Callaway (via RT) <perlbug-followup@perl.org>
Date: Thu, 22 Feb 2007 14:56:24 -0800
Message-ID: <rt-3.6.HEAD-18680-
1172184984-1237.41589-75-0@perl.org>
p4raw-id: //depot/perl@30528
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Sat Feb 10 17:48:04 CET 2007 [metaconfig 3.0 PL70]
+# Generated on Fri Mar 9 20:00:14 CET 2007 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
;;
*) case "$osname" in
darwin) dflt='none' ;;
- svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
+ linux*|svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
*) dflt='-fpic' ;;
esac ;;
esac ;;
'') dflt="$dflt +vnocompatwarnings" ;;
esac
;;
- linux|irix*|gnu*) dflt='-shared' ;;
+ linux|irix*|gnu*) dflt="-shared $optimize" ;;
next) dflt='none' ;;
solaris) dflt='-G' ;;
sunos) dflt='-assert nodefinitions' ;;