[packages/php/PHP_7_1] build with c++17 standard
atler
atler at pld-linux.org
Sat Jan 25 03:36:40 CET 2025
commit 8bd158f8b9fabf203ddabcc91ca8c6f47a8d49be
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Jan 23 12:41:02 2025 +0100
build with c++17 standard
php.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php.spec b/php.spec
index acfed7e..85a8ae0 100644
--- a/php.spec
+++ b/php.spec
@@ -2252,8 +2252,8 @@ 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"
+# icu 74+ C++ API requires C++ >= 17
+CXXFLAGS="%{rpmcxxflags} -std=c++17"
%endif
sapis="
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/6f09f2e918484e21decfe1c8583f5a0ffab40951
More information about the pld-cvs-commit
mailing list