aboutsummaryrefslogtreecommitdiffstats
path: root/package/pptp/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-05 13:06:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-05 13:06:33 +0000
commit3d253cd67ea2034945a1c107fa03b25b86388fc9 (patch)
tree34ac1369890e65d11d7d99f222c9be01a99030a9 /package/pptp/Makefile
parent8af7dd959a80493b04d51cafae4007c6a7766f94 (diff)
downloadmaster-187ad058-3d253cd67ea2034945a1c107fa03b25b86388fc9.tar.gz
master-187ad058-3d253cd67ea2034945a1c107fa03b25b86388fc9.tar.bz2
master-187ad058-3d253cd67ea2034945a1c107fa03b25b86388fc9.zip
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 748abde5a8..3772adb064 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/