# HG changeset patch # User diego # Date 1210431433 0 # Node ID b898ca14e114c14d9f64ddd3aa761eb07418942e # Parent 04a4bd6d7a5f6798088e7b3c1baac09cec5c0b06 Prefer FSF-style AltiVec flags over Apple-style. FSF gcc is better than Apple gcc. diff -r 04a4bd6d7a5f -r b898ca14e114 configure --- 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"