openwrtv3/package/libs
Jo-Philipp Wich 3f5e39e960 zlib: only enable NEON optimizations on eligible targets
Instead of inferring the availability of NEON support from the target
optimization flags, use a preprocessor test to decide whether to enable
ARMv8 NEON optimizations.

Fixes the following build error spotted by the mediatek/32 buildbot:

    [ 26%] Building C object CMakeFiles/zlib.dir/contrib/arm/inflate.o
    In file included from .../zlib-1.2.11/contrib/arm/chunkcopy.h:10:0,
                     from .../zlib-1.2.11/contrib/arm/inflate.c:87:
    .../arm_neon.h:31:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
     #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
      ^
    In file included from .../zlib-1.2.11/contrib/arm/inflate.c:87:0:
    .../zlib-1.2.11/contrib/arm/chunkcopy.h:18:9: error: unknown type name 'uint8x16_t'
     typedef uint8x16_t chunkcopy_chunk_t;
             ^
    [...]
    CMakeFiles/zlib.dir/build.make:302: recipe for target 'CMakeFiles/zlib.dir/contrib/arm/inflate.o' failed

Fixes: 3acecba520 "package/libs/zlib: Add ARM and NEON optimizations"
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-07 12:33:47 +01:00
..
argp-standalone argp-standalone: clean up patch fuzz 2018-01-05 11:59:59 +01:00
elfutils add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
gettext package: replace $(STAGING_DIR)/host with $(STAGING_DIR_HOSTPKG) 2017-01-10 22:15:37 +01:00
gettext-full add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
gmp gmp: Update to 6.1.2 2017-01-03 14:24:33 +01:00
libbsd treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
libconfig treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
libevent2 add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
libiconv package: replace $(STAGING_DIR)/host with $(STAGING_DIR_HOSTPKG) 2017-01-10 22:15:37 +01:00
libiconv-full libiconv-full: fix compile-time linking error GCC7 2017-12-19 22:23:42 +01:00
libjson-c add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
libmnl treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
libnetfilter-conntrack libnetfilter_conntrack: switch to git 2017-10-09 16:12:00 +03:00
libnetfilter-cthelper treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
libnetfilter-cttimeout treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
libnetfilter-log treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
libnetfilter-queue libnetfilter_queue: bump to git HEAD 2017-10-09 16:06:06 +03:00
libnfnetlink treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
libnftnl treewide: switch git.netfilter.org to HTTPS 2017-10-08 21:10:36 +03:00
libnl libs/libnl: Update to 3.3.0 2017-10-15 00:24:22 +02:00
libnl-tiny libnl-tiny: use fixed message size instead of using the page size 2017-11-16 12:54:15 +01:00
libpcap libs/libpcap: Rework URLs 2017-03-22 09:16:23 +01:00
libroxml treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
librpc treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
libtool add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
libubox bubox: update to latest git HEAD 2017-11-06 10:06:35 +01:00
libunwind add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
libusb libusb: Update to 1.0.21 2017-01-03 14:24:33 +01:00
libusb-compat libusb-compat: Upgrade to 0.1.15 2017-11-22 20:45:28 +01:00
lzo libs/lzo: Reenable unaligned access on ARM, PPC, ... 2017-10-24 13:24:04 +02:00
mbedtls add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
ncurses ncurses: add libnucrses-dev package 2017-07-08 23:19:31 +02:00
nettle treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
nghttp2 nghttp2: bump to 1.29.0 2017-12-24 17:06:16 +01:00
openssl openssl: update to 1.0.2n 2017-12-08 10:47:51 +01:00
popt treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
readline add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
sysfsutils treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
toolchain toolchain: Package libgomp 2017-05-11 13:42:55 -07:00
uclibc++ uclibc++: patch bugfix erase() on derived __base_associative 2017-02-09 12:26:55 +01:00
uclient uclient: update to the latest version, fixes fetch of multiple files 2017-11-02 22:54:09 +01:00
ustream-ssl cyassl,curl,libustream-ssl: rename every cyassl to wolfssl 2017-09-17 00:00:12 +02:00
wolfssl wolfssl: update to 3.12.2 (1 CVE) 2017-12-12 17:39:52 +01:00
zlib zlib: only enable NEON optimizations on eligible targets 2018-01-07 12:33:47 +01:00