diff mbox

fix powerpc-apple-darwin8 native build on x86_64-apple-darwin10

Message ID 90F8B2C5-F9E5-4607-A88F-63112D413543@comcast.net
State New
Headers show

Commit Message

Mike Stump Feb. 22, 2011, 8:42 a.m. UTC
While doing builds for PR 47822, I noticed that they were broken.  This fixes a build error on darwin when building on an x86_64-apple-darwin10 build machine playing the role of a powerpc-apple-darwin8 build machine doing a native build.

	* acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin
	assembler.
	* configure: Regenerate.
2011-02-22  Mike Stump  <mikestump@comcast.net>

	* acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin
	assembler.
	* configure: Regenerate.
diff mbox

Patch

Index: acinclude.m4
===================================================================
--- acinclude.m4	(revision 170335)
+++ acinclude.m4	(working copy)
@@ -452,6 +452,10 @@ 
     dnl Always pass --32 to ia32 Linux assembler.
     gcc_cv_as_flags="--32"
     ;;
+  powerpc*-*-darwin*)
+    dnl Always pass -arch ppc to assembler.
+    gcc_cv_as_flags="-arch ppc"
+    ;;
   *)
     gcc_cv_as_flags=" "
     ;;