changeset 26688:b898ca14e114

Prefer FSF-style AltiVec flags over Apple-style. FSF gcc is better than Apple gcc.
author diego
date Sat, 10 May 2008 14:57:13 +0000
parents 04a4bd6d7a5f
children 4cf30c0ca561
files configure
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat May 10 14:54:51 2008 +0000
+++ b/configure	Sat May 10 14:57:13 2008 +0000
@@ -2418,11 +2418,9 @@
     cat > $TMPC << EOF
 int main(void) { return 0; }
 EOF
-    # check for Darwin-style flags first, since gcc-3.3 (August Update
-    # from Apple) on MacOS 10.2.8 accepts but ignores FSF-style flags...
-    cc_check -faltivec && _altivec_gcc_flags=-faltivec \
-        || cc_check -maltivec -mabi=altivec \
+    cc_check -maltivec -mabi=altivec \
         && _altivec_gcc_flags="-maltivec -mabi=altivec" \
+        || cc_check -faltivec && _altivec_gcc_flags=-faltivec \
         || _altivec=no
     echores "$_altivec_gcc_flags"