seems like openswan needed another flags to compile properly
[openwrt/svn-archive/archive.git] / openwrt / target / linux / package / openswan / Makefile
index 229ebbc30e707d29ec6a6998e9325268a69dcc67..5afec1b3d2e60a9c2dfb7ba21978d3b2221e5910 100644 (file)
@@ -30,7 +30,7 @@ $(PKG_BUILD_DIR)/.built:
                ARCH="$(LINUX_KARCH)" \
                CROSS_COMPILE="$(TARGET_CROSS)" \
                USERCOMPILE="$(FLAGS)" \
-               AS="$(TARGET_CC) $(TARGET_CFLAGS)" \
+               AS="$(TARGET_CC) -c $(TARGET_CFLAGS)" \
                module
 
 $(IPKG_KMOD_OPENSWAN):