summaryrefslogtreecommitdiff
path: root/openwrt/package/vpnc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/vpnc/Makefile')
-rw-r--r--openwrt/package/vpnc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/vpnc/Makefile b/openwrt/package/vpnc/Makefile
index 7513290eba..55082905de 100644
--- a/openwrt/package/vpnc/Makefile
+++ b/openwrt/package/vpnc/Makefile
@@ -25,6 +25,8 @@ $(PKG_BUILD_DIR)/.configured:
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
CC=$(TARGET_CC) \
+ OFLAGS="$(TARGET_CFLAGS)" \
+ OS="Linux" \
STAGING_DIR=$(STAGING_DIR) \
DESTDIR=$(PKG_INSTALL_DIR) \
PREFIX=/usr \