From: Daniel M. Quinlan Date: Sun, 17 Feb 2008 14:20:58 +0000 (-0800) Subject: [perl #50946] modified hints for Darwin x86 64bit X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3fe25e0f6cb886de8a6ea0821c0c60588e818e66;p=p5sagit%2Fp5-mst-13.2.git [perl #50946] modified hints for Darwin x86 64bit From: "Daniel M. Quinlan" (via RT) Message-ID: p4raw-id: //depot/perl@33330 --- diff --git a/hints/darwin.sh b/hints/darwin.sh index ffca869..4dce970 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -224,9 +224,19 @@ EOM *** ext/threads/shared/t/wait (threaded builds only) EOM + case `uname -p` in + powerpc) arch=ppc64 ;; + i386) arch=x86_64 ;; + *) cat <&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'