[packages/php/PHP_7_2] build with c++17 standard
atler
atler at pld-linux.org
Fri Jan 24 21:16:50 CET 2025
commit 79715b5d612ac70634d44c9fd4fb548e523a3d78
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 fbf9dd0..89e8491 100644
--- a/php.spec
+++ b/php.spec
@@ -2266,8 +2266,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/ea527344ad1d621544ff9b4c1e42ef1383ce56f2
More information about the pld-cvs-commit
mailing list