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 <rosenp@gmail.com>
This commit is contained in:
parent
f5d67fcc0f
commit
c6910e7e24
1 changed files with 4 additions and 1 deletions
|
@ -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 <banglang.huang@foxmail.com>
|
||||
|
||||
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 \
|
||||
|
|
Loading…
Reference in a new issue