summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/