aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit5732c15abf11f3415b3321ddde55075a27e1f753 (patch)
treee0d435de2328c893164ff74b24dcb9e85a5d436b /package/vpnc/Makefile
parent19b3588489699171505bd3f68af51e9920552e28 (diff)
downloadmaster-187ad058-5732c15abf11f3415b3321ddde55075a27e1f753.tar.gz
master-187ad058-5732c15abf11f3415b3321ddde55075a27e1f753.tar.bz2
master-187ad058-5732c15abf11f3415b3321ddde55075a27e1f753.zip
rename the patch to better match its purpose,
add target optimization cflags, prevent host system detection to set compile-time options. git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2688 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/vpnc/Makefile')
-rw-r--r--package/vpnc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/vpnc/Makefile b/package/vpnc/Makefile
index 7513290eba..55082905de 100644
--- a/package/vpnc/Makefile
+++ b/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 \