summaryrefslogtreecommitdiffstats
path: root/package/pptp/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-05 13:06:33 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-05 13:06:33 +0000
commit5b987c43d311cec3c984044e7ebacfdf57abef99 (patch)
tree34ac1369890e65d11d7d99f222c9be01a99030a9 /package/pptp/Makefile
parent34b32d26b5ab66dd6a2977e922d504f7e05def36 (diff)
pptp: compile with the openwrt cflags instead of -O0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31600 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/pptp/Makefile')
-rw-r--r--package/pptp/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/pptp/Makefile b/package/pptp/Makefile
index 748abde5a..3772adb06 100644
--- a/package/pptp/Makefile
+++ b/package/pptp/Makefile
@@ -34,6 +34,8 @@ define Package/pptp/conffiles
/etc/ppp/options.pptp
endef
+MAKE_FLAGS += OPTIMIZE="$(TARGET_CFLAGS)"
+
define Package/pptp/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/