From: Lucian Cristian Date: Thu, 11 Apr 2019 07:31:51 +0000 (+0300) Subject: libreswan: kernel module fix X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=3211f534e91ecf04423e9f260ea67eced2597ec5;p=openwrt-packages.git libreswan: kernel module fix use the kernel arch for building the modules Signed-off-by: Lucian Cristian --- diff --git a/net/libreswan/Makefile b/net/libreswan/Makefile index 556e20fda..514c34959 100644 --- a/net/libreswan/Makefile +++ b/net/libreswan/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libreswan PKG_VERSION:=3.27 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://download.libreswan.org/ @@ -90,6 +90,7 @@ MAKE_FLAGS+= \ USE_SYSTEMD_WATCHDOG=false \ INC_USRLOCAL="/usr" \ FINALRUNDIR="/var/run/pluto" \ + ARCH="$(LINUX_KARCH)" \ KERNELSRC="$(LINUX_DIR)" define Build/Prepare