Only check for altivec.h when not using Apple gcc and not adding -faltivec to
CFLAGS. This avoids a couple of warnings of the type '#warning: Ignoring <altivec.h> because "-faltivec" specified'. Originally committed as revision 12445 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
3
configure
vendored
3
configure
vendored
@@ -1536,9 +1536,8 @@ if enabled altivec; then
|
|||||||
add_cflags "-faltivec"
|
add_cflags "-faltivec"
|
||||||
else
|
else
|
||||||
add_cflags "-maltivec -mabi=altivec"
|
add_cflags "-maltivec -mabi=altivec"
|
||||||
fi
|
|
||||||
|
|
||||||
check_header altivec.h
|
check_header altivec.h
|
||||||
|
fi
|
||||||
|
|
||||||
# check if our compiler supports Motorola AltiVec C API
|
# check if our compiler supports Motorola AltiVec C API
|
||||||
enabled altivec_h &&
|
enabled altivec_h &&
|
||||||
|
Reference in New Issue
Block a user