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

atler atler at pld-linux.org
Fri May 10 15:50:32 CEST 2024


commit 9f5eba7b924bf1c24191e18eba85091d5c053af8
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 3ad2b42..e17d1f0 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/16d74c8bf67029c99c5ed9f1dcccc39c8e2dc31e



More information about the pld-cvs-commit mailing list