]> git.pld-linux.org Git - packages/php.git/commitdiff
- force C++ 11 for icu 59+ (intl module)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 29 May 2017 16:03:46 +0000 (18:03 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 29 May 2017 16:03:46 +0000 (18:03 +0200)
php.spec

index 82df17926886047bff4564acd99f79db04a934d8..20b6314d09ceceb2afc06cae77755e3bee7390e2 100644 (file)
--- 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
This page took 0.72046 seconds and 4 git commands to generate.