From f83557034fccbdbb72ba409edf63a1e73ca8e109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= Date: Thu, 3 Oct 2013 18:38:25 +0200 Subject: [PATCH 14/17] contrib/png: fix compilation for arm64 which is unknown to the libpng developers --- contrib/src/png/rules.mak | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/contrib/src/png/rules.mak b/contrib/src/png/rules.mak index 701e3a8..d76206e 100644 --- a/contrib/src/png/rules.mak +++ b/contrib/src/png/rules.mak @@ -7,6 +7,13 @@ ifeq ($(call need_pkg,"libpng"),) PKGS_FOUND += png endif +PNGCONF = +ifdef HAVE_IOS +ifeq ($(ARCH),arm64) +PNGCONF = --enable-arm-neon=no +endif +endif + $(TARBALLS)/libpng-$(PNG_VERSION).tar.xz: $(call download,$(PNG_URL)) @@ -26,6 +33,6 @@ DEPS_png = zlib $(DEPS_zlib) .png: png $(RECONF) - cd $< && $(HOSTVARS) ./configure $(HOSTCONF) + cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(PNGCONF) cd $< && $(MAKE) install touch $@ -- 1.8.3.4 (Apple Git-47)