projects
/
php8.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1878eb
)
Amend C++11 for intl compilation on older distributions
author
Ondřej Surý
<ondrej@sury.org>
Wed, 10 Apr 2019 06:31:27 +0000
(06:31 +0000)
committer
Peter Michael Green
<plugwash@raspbian.org>
Thu, 20 Jul 2023 18:02:54 +0000
(18:02 +0000)
Gbp-Pq: Name 0032-Amend-C-11-for-intl-compilation-on-older-distributio.patch
ext/intl/config.m4
patch
|
blob
|
history
diff --git
a/ext/intl/config.m4
b/ext/intl/config.m4
index dd687bcd97de377855d4029b3637bda39cea59bc..7cf5098d1f918b537ff18bf83a09f7affa960a7b 100644
(file)
--- a/
ext/intl/config.m4
+++ b/
ext/intl/config.m4
@@
-81,7
+81,7
@@
if test "$PHP_INTL" != "no"; then
PHP_REQUIRE_CXX()
PHP_CXX_COMPILE_STDCXX(11, mandatory, PHP_INTL_STDCXX)
- PHP_INTL_CXX_FLAGS="$INTL_COMMON_FLAGS $PHP_INTL_STDCXX $ICU_CXXFLAGS"
+ PHP_INTL_CXX_FLAGS="$INTL_COMMON_FLAGS $PHP_INTL_STDCXX $ICU_CXXFLAGS
-std=c++11
"
case $host_alias in
*cygwin*) PHP_INTL_CXX_FLAGS="$PHP_INTL_CXX_FLAGS -D_POSIX_C_SOURCE=200809L"
esac