Skip to content

Commit

Permalink
bird2: Prevent unaligned access on ARM
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tohojo committed Dec 6, 2024
1 parent ff47476 commit 0209a1f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bird2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=bird2
PKG_VERSION:=2.15.1
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
Expand Down Expand Up @@ -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.
endef

ifeq ($(ARCH),arm)
TARGET_CFLAGS+=-mno-unaligned-access
endif

CONFIGURE_ARGS += --disable-libssh

define Package/bird2/conffiles
Expand Down

0 comments on commit 0209a1f

Please sign in to comment.