|
Lines 42-47
Link Here
|
| 42 |
|
42 |
|
| 43 |
BUILD_HAVE=`echo %php7_extension | tr '[:lower:]-' '[:upper:]_'` |
43 |
BUILD_HAVE=`echo %php7_extension | tr '[:lower:]-' '[:upper:]_'` |
| 44 |
%add_optflags -fPIC -L%_libdir |
44 |
%add_optflags -fPIC -L%_libdir |
|
|
45 |
%ifarch %e2k |
| 46 |
# lcc-1.23.12: char16_t is undefined otherwise; see also mcst#4060 |
| 47 |
%add_optflags -std=gnu++11 |
| 48 |
%endif |
| 45 |
export LDFLAGS=-lphp-%_php7_version |
49 |
export LDFLAGS=-lphp-%_php7_version |
| 46 |
%configure \ |
50 |
%configure \ |
| 47 |
--with-php-config=%_bindir/php-config \ |
51 |
--with-php-config=%_bindir/php-config \ |