summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/package/openswan/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/package/openswan/Makefile b/target/linux/package/openswan/Makefile
index 229ebbc30..5afec1b3d 100644
--- a/target/linux/package/openswan/Makefile
+++ b/target/linux/package/openswan/Makefile
@@ -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):