com php-src: ICU 59+ requires C++11 and errors out without the option: ext/intl/config.m4

From: Date: Sun, 17 Jun 2018 23:42:41 +0000
Subject: com php-src: ICU 59+ requires C++11 and errors out without the option: ext/intl/config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102180@lists.php.net to get a copy of this message
Commit: 5dd1ef90caec3021e6ce55c8554e695edf641eaf Author: Stanislav Malyshev <stas@php.net> Sun, 17 Jun 2018 16:00:06 -0700 Parents: 11507c0e1bfa17a96480f3648397f6975c31551e Branches: PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5dd1ef90caec3021e6ce55c8554e695edf641eaf Log: ICU 59+ requires C++11 and errors out without the option Changed paths: M ext/intl/config.m4 Diff: diff --git a/ext/intl/config.m4 b/ext/intl/config.m4 index 52408f8..e8fad2e 100644 --- a/ext/intl/config.m4 +++ b/ext/intl/config.m4 @@ -18,6 +18,9 @@ if test "$PHP_INTL" != "no"; then else icu_spoof_src="" fi + if test "$icu_version" -ge "59000"; then + ICU_CXXFLAGS="$ICU_CXXFLAGS -std=c++11 -stdlib=libc++" + fi PHP_NEW_EXTENSION(intl, php_intl.c \ intl_error.c \ intl_convert.c \

« previous php.cvs (#102180) next »