1 Fix aarch64 compile by adding HAVE_ARMV8 define
3 Fixes build errors seen on the buildroot autobuilders:
4 http://autobuild.buildroot.net/results/5f8/5f85c32eb89aac48ae8da892d9800bd13274cd3e/build-end.log
6 libavutil/aarch64/cpu.c: In function 'ff_get_cpu_flags_aarch64':
7 libavutil/aarch64/cpu.c:25:32: error: 'HAVE_ARMV8' undeclared (first use in this function)
8 return AV_CPU_FLAG_ARMV8 * HAVE_ARMV8 |
10 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
12 http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2016-May/073496.html)
15 ===================================================================
16 --- a/configure (revision 37871)
17 +++ b/configure (working copy)
19 --disable-armv6) _armv6=no ;;
20 --enable-armv6t2) _armv6t2=yes ;;
21 --disable-armv6t2) _armv6t2=no ;;
22 + --enable-armv8) _armv8=yes ;;
23 + --disable-armv8) _armv8=no ;;
24 --enable-armvfp) _armvfp=yes ;;
25 --disable-armvfp) _armvfp=no ;;
26 --enable-vfpv3) vfpv3=yes ;;
31 -cpuexts_all='ALTIVEC XOP AVX AVX2 FMA3 FMA4 MMX MMX2 MMXEXT AMD3DNOW AMD3DNOWEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 FAST_CMOV I686 FAST_CLZ ARMV5TE ARMV6 ARMV6T2 VFP VFPV3 SETEND NEON IWMMXT MMI VIS MVI'
32 +cpuexts_all='ALTIVEC XOP AVX AVX2 FMA3 FMA4 MMX MMX2 MMXEXT AMD3DNOW AMD3DNOWEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 FAST_CMOV I686 FAST_CLZ ARMV5TE ARMV6 ARMV6T2 ARMV8 VFP VFPV3 SETEND NEON IWMMXT MMI VIS MVI'
33 test "$_altivec" = yes && cpuexts="ALTIVEC $cpuexts"
34 test "$_mmx" = yes && cpuexts="MMX $cpuexts"
35 test "$_mmxext" = yes && cpuexts="MMX2 $cpuexts"
37 test "$_armv5te" = yes && cpuexts="ARMV5TE $cpuexts"
38 test "$_armv6" = yes && cpuexts="ARMV6 $cpuexts"
39 test "$_armv6t2" = yes && cpuexts="ARMV6T2 $cpuexts"
40 +test "$_armv8" = yes && cpuexts="ARMV8 $cpuexts"
41 test "$_armvfp" = yes && cpuexts="VFP $cpuexts"
42 test "$vfpv3" = yes && cpuexts="VFPV3 $cpuexts"
43 test "$setend" = yes && cpuexts="SETEND $cpuexts"