mirror of https://git.videolan.org/git/ffmpeg.git
configure: Do not check for the __builtin_vec_vsx_ld
Clang support for Altivec/VSX uses a different approach.
This commit is contained in:
parent
3d040513a1
commit
6a7e928555
|
@ -4447,7 +4447,14 @@ EOF
|
||||||
|
|
||||||
if enabled vsx; then
|
if enabled vsx; then
|
||||||
check_cflags -mvsx &&
|
check_cflags -mvsx &&
|
||||||
check_builtin vec_vsx_ld "altivec.h" "__builtin_vec_vsx_ld" || disable vsx
|
check_cc <<EOF || disable vsx
|
||||||
|
$inc_altivec_h
|
||||||
|
int main(void) {
|
||||||
|
int v[4] = { 0 };
|
||||||
|
vector signed int v1 = vec_vsx_ld(0, v);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if enabled power8; then
|
if enabled power8; then
|
||||||
|
|
Loading…
Reference in New Issue