On 29.05.2017 19:02, qboosh wrote:
commit 3e7f45eb8ad3c6920b2270a2f8d38f8d258252bb
Author: Jakub Bogusz <[email protected]>
Date:   Mon May 29 18:03:46 2017 +0200

     - force C++ 11 for icu 59+ (intl module)

  php.spec | 4 ++++
  1 file changed, 4 insertions(+)
---
diff --git a/php.spec b/php.spec
index 82df179..20b6314 100644
--- a/php.spec
+++ b/php.spec
@@ -2253,6 +2253,10 @@ fi
  export PROG_SENDMAIL="/usr/lib/sendmail"
  export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
        -I%{_includedir}/xmlrpc-epi"
+%if %{with intl}
+# icu 59+ C++ API requires C++ >= 11
+CXXFLAGS="%{rpmcxxflags} -std=c++11"
+%endif
i would prefer a .patch in ext/intl/*.m4 that could be upstreamed.


--
glen

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to