From: Michael Heimpold Date: Tue, 18 Apr 2017 19:30:17 +0000 (+0200) Subject: php7: use TARGET_CXXFLAGS instead of TARGET_CPPFLAGS for C++ option X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=12e3019db7c09e23fba1dd4a2b417fc2666b0c6e;p=openwrt-packages.git php7: use TARGET_CXXFLAGS instead of TARGET_CPPFLAGS for C++ option This fixes a stupid typo from last commit which lead to the following compiler warning: cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C Signed-off-by: Michael Heimpold --- diff --git a/lang/php7/Makefile b/lang/php7/Makefile index 71ac992e6..2c3d2127e 100644 --- a/lang/php7/Makefile +++ b/lang/php7/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=php PKG_VERSION:=7.1.4 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_MAINTAINER:=Michael Heimpold @@ -245,7 +245,7 @@ endif ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-intl),) CONFIGURE_ARGS+= --enable-intl=shared - TARGET_CPPFLAGS+= -std=c++0x + TARGET_CXXFLAGS+= -std=c++0x else CONFIGURE_ARGS+= --disable-intl endif