fix openswan compile with linux-2.6 (bug #8)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 13 Nov 2005 00:25:34 +0000 (00:25 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 13 Nov 2005 00:25:34 +0000 (00:25 +0000)
SVN-Revision: 2466

openwrt/target/linux/package/openswan/Makefile

index be0d32315dc7bdcd30ed3913eb5eb5f1614c45e7..229ebbc30e707d29ec6a6998e9325268a69dcc67 100644 (file)
@@ -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):