Do not suggest to use gas-preprocessor if using it would break compilation.

gas-preprocessor does not work on ppc with pic and on ppc64.
This commit is contained in:
Carl Eugen Hoyos 2013-08-02 23:23:58 +02:00
parent 0553f2c6e5
commit 401f6a7126
1 changed files with 3 additions and 1 deletions

4
configure vendored
View File

@ -3865,7 +3865,9 @@ elif enabled ppc; then
# AltiVec flags: The FSF version of GCC differs from the Apple version
if enabled altivec; then
nogas=warn
if ! enabled_any pic ppc64; then
nogas=warn
fi
check_cflags -maltivec -mabi=altivec &&
{ check_header altivec.h && inc_altivec_h="#include <altivec.h>" ; } ||
check_cflags -faltivec