[packages/php/PHP_7_4] drop fixed -std=c++11 from CXXFLAGS

atler atler at pld-linux.org
Thu Jan 23 03:09:31 CET 2025


commit 4f25e1bbe244869ee448b172cde8da83ce6f9d27
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri May 10 11:51:30 2024 +0200

    drop fixed -std=c++11 from CXXFLAGS
    
    handled upstream since 7.4

 php.spec | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/php.spec b/php.spec
index 1247ec3..6313ed0 100644
--- a/php.spec
+++ b/php.spec
@@ -2152,11 +2152,6 @@ export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
 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"
-%endif
-
 sapis="
 cli
 %if %{with cgi}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/1ba980d51cc0dd58e441507e425585d6311f9cd7



More information about the pld-cvs-commit mailing list