--- php7-intl.spec.orig 2019-04-09 18:36:48.000000000 +0000 +++ php7-intl.spec 2019-05-08 07:25:24.161348563 +0000 @@ -42,6 +42,10 @@ BUILD_HAVE=`echo %php7_extension | tr '[:lower:]-' '[:upper:]_'` %add_optflags -fPIC -L%_libdir +%ifarch %e2k +# lcc-1.23.12: char16_t is undefined otherwise; see also mcst#4060 +%add_optflags -std=gnu++11 +%endif export LDFLAGS=-lphp-%_php7_version %configure \ --with-php-config=%_bindir/php-config \