From 8c73264068d1776966fb86934c2fe475bb5377b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Wed, 10 Apr 2019 06:31:27 +0000 Subject: [PATCH] Amend C++11 for intl compilation on older distributions Gbp-Pq: Name 0032-Amend-C-11-for-intl-compilation-on-older-distributio.patch --- ext/intl/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/intl/config.m4 b/ext/intl/config.m4 index 78396dc4..3cfa9f58 100644 --- a/ext/intl/config.m4 +++ b/ext/intl/config.m4 @@ -90,7 +90,7 @@ if test "$PHP_INTL" != "no"; then 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 -- 2.30.2