libhdf5: add missing architectures
[termux-packages] / packages / libvpx / configure.patch
1 diff -u -r ../libvpx-1.6.1/build/make/configure.sh ./build/make/configure.sh
2 --- ../libvpx-1.6.1/build/make/configure.sh 2017-01-12 20:27:27.000000000 +0000
3 +++ ./build/make/configure.sh 2017-07-27 01:11:03.641678047 +0000
4 @@ -891,7 +891,6 @@
5 setup_gnu_toolchain
6 arch_int=${tgt_isa##armv}
7 arch_int=${arch_int%%te}
8 - check_add_asflags --defsym ARCHITECTURE=${arch_int}
9 tune_cflags="-mtune="
10 if [ ${tgt_isa} = "armv7" ] || [ ${tgt_isa} = "armv7s" ]; then
11 if [ -z "${float_abi}" ]; then
12 @@ -1021,7 +1020,6 @@
13 else
14 echo "Assuming standalone build with NDK toolchain."
15 echo "See build/make/Android.mk for details."
16 - check_add_ldflags -static
17 soft_enable unit_tests
18 fi
19 ;;
20 diff -u -r ../libvpx-1.6.1/configure ./configure
21 --- ../libvpx-1.6.1/configure 2017-01-12 20:27:27.000000000 +0000
22 +++ ./configure 2017-07-27 01:09:43.590546540 +0000
23 @@ -500,7 +500,7 @@
24 # Supported platforms
25 ;;
26 *)
27 - if enabled gnu; then
28 + if enabled gnu || enabled android; then
29 echo "--enable-shared is only supported on ELF; assuming this is OK"
30 else
31 die "--enable-shared only supported on ELF, OS/2, and Darwin for now"