From 3e7f45eb8ad3c6920b2270a2f8d38f8d258252bb Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 29 May 2017 18:03:46 +0200 Subject: [PATCH] - force C++ 11 for icu 59+ (intl module) --- php.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/php.spec b/php.spec index 82df179..20b6314 100644 --- a/php.spec +++ b/php.spec @@ -2253,6 +2253,10 @@ fi export PROG_SENDMAIL="/usr/lib/sendmail" export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \ -I%{_includedir}/xmlrpc-epi" +%if %{with intl} +# icu 59+ C++ API requires C++ >= 11 +CXXFLAGS="%{rpmcxxflags} -std=c++11" +%endif sapis=" cli -- 2.44.0