summaryrefslogtreecommitdiff
path: root/openwrt/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
commitb4136fdf42d26e72bec79f6b0221baf089d9d810 (patch)
treee27962f8b32bc96c5eb1d214a150aa18a113bda8 /openwrt/package/vpnc/Makefile
parente695162bd56afa8b251fa05c321019d021411894 (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@2688 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 \