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

atler atler at pld-linux.org
Wed Jan 22 22:38:00 CET 2025


commit f7468e28ce7b61ab8292100fd0e522fb24e6d173
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 6ee4a63..c1cda31 100644
--- a/php.spec
+++ b/php.spec
@@ -2123,11 +2123,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/8444eb505a8f2a5661a198b335c189196f69eabb



More information about the pld-cvs-commit mailing list