diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/acinclude.m4 | 4 | ||||
-rwxr-xr-x | gcc/configure | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a78deb0..04d3b63 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/acinclude.m4 b/gcc/acinclude.m4 index 6f0f979..3eec559 100644 --- a/gcc/acinclude.m4 +++ b/gcc/acinclude.m4 @@ -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=" " ;; diff --git a/gcc/configure b/gcc/configure index 91fad33..2da3716 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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=" " ;; |