php7: use TARGET_CXXFLAGS instead of TARGET_CPPFLAGS for C++ option
authorMichael Heimpold <mhei@heimpold.de>
Tue, 18 Apr 2017 19:30:17 +0000 (21:30 +0200)
committerMichael Heimpold <mhei@heimpold.de>
Tue, 18 Apr 2017 19:38:37 +0000 (21:38 +0200)
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 <mhei@heimpold.de>
lang/php7/Makefile

index 71ac992e6b65d083d8c30f39c9eaaeb6e9dbd4e2..2c3d2127e7bf623f7c01860b29a3fab7440e6eb8 100644 (file)
@@ -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 <mhei@heimpold.de>
 
@@ -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