From c6910e7e24d9943ff74b6c5bae0789091c7f9bb7 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 14 Apr 2019 15:32:13 -0700 Subject: [PATCH] botan: Disable NEON when soft float is disabled For some reason, the build system enables NEON on platforms that is should not. Fixes compilation on several ARM targets. Signed-off-by: Rosen Penev --- libs/botan/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/botan/Makefile b/libs/botan/Makefile index 2b5c8af84..1a82f4fb1 100644 --- a/libs/botan/Makefile +++ b/libs/botan/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=botan PKG_VERSION:=2.10.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=BangLang Huang PKG_SOURCE:=Botan-$(PKG_VERSION).tgz @@ -68,6 +68,9 @@ CONFIGURE_ARGS = \ --optimize-for-size \ $(DISABLE_IPV6) +ifeq ($(CONFIG_SOFT_FLOAT),y) +CONFIGURE_ARGS += --disable-neon +endif TARGET_LDFLAGS += \ -Wl,--gc-sections,--as-needed \