Change 33330 by [EMAIL PROTECTED] on 2008/02/18 13:29:01
Subject: [perl #50946] modified hints for Darwin x86 64bit
From: "Daniel M. Quinlan" (via RT) <[EMAIL PROTECTED]>
Date: Sun, 17 Feb 2008 14:20:58 -0800
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/hints/darwin.sh#64 edit
Differences ...
==== //depot/perl/hints/darwin.sh#64 (text) ====
Index: perl/hints/darwin.sh
--- perl/hints/darwin.sh#63~27333~ 2006-02-27 02:33:59.000000000 -0800
+++ perl/hints/darwin.sh 2008-02-18 05:29:01.000000000 -0800
@@ -224,9 +224,19 @@
*** ext/threads/shared/t/wait (threaded builds only)
EOM
+ case `uname -p` in
+ powerpc) arch=ppc64 ;;
+ i386) arch=x86_64 ;;
+ *) cat <<EOM >&4
+
+*** Don't recognize processor, can't specify 64 bit compilation.
+
+EOM
+ ;;
+ esac
for var in ccflags cppflags ld ldflags
do
- eval $var="\$${var}\ -arch\ ppc64"
+ eval $var="\$${var}\ -arch\ $arch"
done
[ "$d_msgctl" ] || d_msgctl='undef'
End of Patch.