acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin assembler.
authorMike Stump <mikestump@comcast.net>
Tue, 22 Feb 2011 08:35:45 +0000 (08:35 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Tue, 22 Feb 2011 08:35:45 +0000 (08:35 +0000)
* acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin
assembler.
* configure: Regenerate.

From-SVN: r170392

gcc/ChangeLog
gcc/acinclude.m4
gcc/configure

index a78deb0c25145c15801750cda52cc6a81acfe462..04d3b63672dcdba3e5e6ad7ddea637d49a7aeceb 100644 (file)
@@ -1,3 +1,9 @@
+2011-02-22  Mike Stump  <mikestump@comcast.net>
+
+       * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin
+       assembler.
+       * configure: Regenerate.
+
 2011-02-21  Chung-Lin Tang  <cltang@codesourcery.com>
 
        PR rtl-optimization/46002
index 6f0f979d78c2d74af037d93011934dea2999d6e4..3eec559e8f5d8fc09bfbf2af85775e06f6dd5696 100644 (file)
@@ -452,6 +452,10 @@ AC_DEFUN([gcc_GAS_FLAGS],
     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=" "
     ;;
index 91fad3330afb55637ca85538a4cdd0c7d465189b..2da3716d8349a953b96e1d43da78192e6489d515 100755 (executable)
@@ -21356,6 +21356,9 @@ else
   i[34567]86-*-linux*)
         gcc_cv_as_flags="--32"
     ;;
+  powerpc*-*-darwin*)
+        gcc_cv_as_flags="-arch ppc"
+    ;;
   *)
     gcc_cv_as_flags=" "
     ;;