[packages/php/PHP_7_3] build with c++17 standard

atler atler at pld-linux.org
Thu Jan 23 13:56:15 CET 2025


commit 71195da0ad4436c1ce561c0ccfef1304082b9d5b
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 72dd84f..199de17 100644
--- a/php.spec
+++ b/php.spec
@@ -2269,8 +2269,8 @@ export CXXFLAGS="%{rpmcxxflags} -fPIC -DPIC"
 export CFLAGS="%{rpmcflags} -fPIC -DPIC"
 
 %if %{with intl}
-# icu 59+ C++ API requires C++ >= 11
-CXXFLAGS="$CXXFLAGS -std=c++11"
+# icu 74+ C++ API requires C++ >= 17
+CXXFLAGS="$CXXFLAGS -std=c++17"
 %endif
 
 sapis="
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/40561f932b20c09b35d1ed680964935aa11ab36f



More information about the pld-cvs-commit mailing list