mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
cosmetics: Reformat Apple cc check.
Originally committed as revision 12444 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
216d513c34
commit
0870c7674a
6
configure
vendored
6
configure
vendored
@ -1532,9 +1532,11 @@ fi
|
|||||||
|
|
||||||
# AltiVec flags: The FSF version of GCC differs from the Apple version
|
# AltiVec flags: The FSF version of GCC differs from the Apple version
|
||||||
if enabled altivec; then
|
if enabled altivec; then
|
||||||
test -n "`$cc -v 2>&1 | grep version | grep Apple`" &&
|
if test -n "`$cc -v 2>&1 | grep version | grep Apple`"; then
|
||||||
add_cflags "-faltivec" ||
|
add_cflags "-faltivec"
|
||||||
|
else
|
||||||
add_cflags "-maltivec -mabi=altivec"
|
add_cflags "-maltivec -mabi=altivec"
|
||||||
|
fi
|
||||||
|
|
||||||
check_header altivec.h
|
check_header altivec.h
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user