summaryrefslogtreecommitdiffstats
path: root/package/vpnc/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-15 12:55:38 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-15 12:55:38 +0000
commit1abc6db611ec27c0e1686ca1454424d71cf0f1a9 (patch)
treee0d435de2328c893164ff74b24dcb9e85a5d436b /package/vpnc/Makefile
parent0d3626fc75efabe6c4ae098b0988dfeadc31447b (diff)
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 7513290eb..55082905d 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 \