summaryrefslogtreecommitdiff
path: root/openwrt/package/vpnc/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-12-15 12:55:38 +0000
committerNicolas Thill <nico@openwrt.org>2005-12-15 12:55:38 +0000
commit007140bf20888f4f375514cccd50876584055dd0 (patch)
tree83a4be2545f963b908337973662265059534d714 /openwrt/package/vpnc/Makefile
parenta8c3b7c7164df7a6c83c64601dfaaea476a169d2 (diff)
downloadmtk-20170518-007140bf20888f4f375514cccd50876584055dd0.zip
mtk-20170518-007140bf20888f4f375514cccd50876584055dd0.tar.gz
mtk-20170518-007140bf20888f4f375514cccd50876584055dd0.tar.bz2
rename the patch to better match its purpose, add target optimization cflags, prevent host system detection to set compile-time options.
SVN-Revision: 2688
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 7513290..5508290 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 \