From 468e507c0ab649106f71e5e5c6463209c0264564 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 13 Nov 2005 00:25:34 +0000
Subject: fix openswan compile with linux-2.6 (bug #8)

SVN-Revision: 2466
---
 openwrt/target/linux/package/openswan/Makefile | 1 +
 1 file changed, 1 insertion(+)

(limited to 'openwrt/target/linux/package')

diff --git a/openwrt/target/linux/package/openswan/Makefile b/openwrt/target/linux/package/openswan/Makefile
index be0d323..229ebbc 100644
--- a/openwrt/target/linux/package/openswan/Makefile
+++ b/openwrt/target/linux/package/openswan/Makefile
@@ -30,6 +30,7 @@ $(PKG_BUILD_DIR)/.built:
 		ARCH="$(LINUX_KARCH)" \
 		CROSS_COMPILE="$(TARGET_CROSS)" \
 		USERCOMPILE="$(FLAGS)" \
+		AS="$(TARGET_CC) $(TARGET_CFLAGS)" \
 		module
 
 $(IPKG_KMOD_OPENSWAN):
-- 
cgit v1.1