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

atler atler at pld-linux.org
Wed Jan 22 22:13:15 CET 2025


commit 0d9903905d2b7e59b8780e9690010cda81909a40
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 cc167a2..92963ad 100644
--- a/php.spec
+++ b/php.spec
@@ -2124,11 +2124,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/e36508ee3bed7a3cc4eb7abc5408422ec529e4c2



More information about the pld-cvs-commit mailing list