From patchwork Tue Feb 22 08:42:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: fix powerpc-apple-darwin8 native build on x86_64-apple-darwin10 Date: Mon, 21 Feb 2011 22:42:25 -0000 From: Mike Stump X-Patchwork-Id: 83935 Message-Id: <90F8B2C5-F9E5-4607-A88F-63112D413543@comcast.net> To: gcc patches 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 * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin assembler. * configure: Regenerate. 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=" " ;;