From 3211f534e91ecf04423e9f260ea67eced2597ec5 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Thu, 11 Apr 2019 10:31:51 +0300 Subject: [PATCH] libreswan: kernel module fix use the kernel arch for building the modules Signed-off-by: Lucian Cristian --- net/libreswan/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/libreswan/Makefile b/net/libreswan/Makefile index 556e20fdaa..514c349599 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 -- 2.30.2