From: Ondřej Surý Date: Wed, 10 Apr 2019 06:31:27 +0000 (+0000) Subject: Amend C++11 for intl compilation on older distributions X-Git-Tag: archive/raspbian/8.4.11-1+rpi1~1^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=73bee89be44e1c1bdfcc1636ab95c5cf45a2dece;p=php8.4.git Amend C++11 for intl compilation on older distributions Gbp-Pq: Name 0032-Amend-C-11-for-intl-compilation-on-older-distributio.patch --- diff --git a/ext/intl/config.m4 b/ext/intl/config.m4 index dd687bcd..7cf5098d 100644 --- 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