Merge pull request #8682 from neheb/bot

botan: Disable NEON when soft float is disabled
This commit is contained in:
Rosen Penev 2019-04-16 14:31:18 -07:00 committed by GitHub
commit bf23abd8e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=botan PKG_NAME:=botan
PKG_VERSION:=2.10.0 PKG_VERSION:=2.10.0
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_MAINTAINER:=BangLang Huang <banglang.huang@foxmail.com> PKG_MAINTAINER:=BangLang Huang <banglang.huang@foxmail.com>
PKG_SOURCE:=Botan-$(PKG_VERSION).tgz PKG_SOURCE:=Botan-$(PKG_VERSION).tgz
@ -68,6 +68,9 @@ CONFIGURE_ARGS = \
--optimize-for-size \ --optimize-for-size \
$(DISABLE_IPV6) $(DISABLE_IPV6)
ifeq ($(CONFIG_SOFT_FLOAT),y)
CONFIGURE_ARGS += --disable-neon
endif
TARGET_LDFLAGS += \ TARGET_LDFLAGS += \
-Wl,--gc-sections,--as-needed \ -Wl,--gc-sections,--as-needed \