pptp: compile with the openwrt cflags instead of -O0
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 May 2012 13:06:33 +0000 (13:06 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 May 2012 13:06:33 +0000 (13:06 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31600 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/pptp/Makefile

index 748abde..3772adb 100644 (file)
@@ -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/