aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-08-02 23:23:58 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-08-02 23:23:58 +0200
commit401f6a7126fe26eb486a0d99393485abd2ef5ade (patch)
treeea7d175795ce1c8a2d3f690fded83b2581fa7215 /configure
parent0553f2c6e5852842498e53026cae887246dd31ed (diff)
downloadffmpeg-401f6a7126fe26eb486a0d99393485abd2ef5ade.tar.gz
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index e215a2aa16..f1ba054a03 100755
--- a/configure
+++ b/configure
@@ -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