From 45f0d8b066ce382be30b257939fcb922dd2b88f4 Mon Sep 17 00:00:00 2001 From: Alexander Strange Date: Sun, 22 Nov 2009 04:08:15 -0500 Subject: [PATCH 2/6] Use -faltivec instead of -maltivec. TODO: check if we need this and why mainline works without it. --- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 7dcb50f..83283cb 100755 --- a/configure +++ b/configure @@ -2547,9 +2547,9 @@ elif enabled ppc; then # AltiVec flags: The FSF version of GCC differs from the Apple version if enabled altivec; then nogas=warn + check_cflags -faltivec || check_cflags -maltivec -mabi=altivec && - { check_header altivec.h && inc_altivec_h="#include " ; } || - check_cflags -faltivec + { check_header altivec.h && inc_altivec_h="#include " ; } # check if our compiler supports Motorola AltiVec C API check_cc <