From: nbd Date: Sun, 13 Nov 2005 00:25:34 +0000 (+0000) Subject: fix openswan compile with linux-2.6 (bug #8) X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/c640efa5e5eabcf467047e72ce92eaef4219fdbb fix openswan compile with linux-2.6 (bug #8) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2466 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/openwrt/target/linux/package/openswan/Makefile b/openwrt/target/linux/package/openswan/Makefile index be0d32315..229ebbc30 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):