mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 21:24:32 +04:00
bird2: Prevent unaligned access on ARM
Import patch from Freifunk to enable -mno-unaligned-access - see upstream bug report: http://trubka.network.cz/pipermail/bird-users/2024-December/017944.html Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
This commit is contained in:
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=bird2
|
PKG_NAME:=bird2
|
||||||
PKG_VERSION:=2.15.1
|
PKG_VERSION:=2.15.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
|
PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
|
||||||
@@ -97,6 +97,10 @@ protocols, telling BIRD to show various information, telling it to show
|
|||||||
a routing table filtered by a filter, or asking BIRD to reconfigure.
|
a routing table filtered by a filter, or asking BIRD to reconfigure.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifeq ($(ARCH),arm)
|
||||||
|
TARGET_CFLAGS+=-mno-unaligned-access
|
||||||
|
endif
|
||||||
|
|
||||||
CONFIGURE_ARGS += --disable-libssh
|
CONFIGURE_ARGS += --disable-libssh
|
||||||
|
|
||||||
define Package/bird2/conffiles
|
define Package/bird2/conffiles
|
||||||
|
|||||||
Reference in New Issue
Block a user