Browse Source

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>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
c6910e7e24
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      libs/botan/Makefile

+ 4
- 1
libs/botan/Makefile View File

@ -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…
Cancel
Save