X-Git-Url: https://git.tld-linux.org/?p=packages%2Fphp.git;a=blobdiff_plain;f=php.spec;h=e25366b27970bc4810114edd7df735706d6c3117;hp=f462bcc7aec4a8d09a9add8dae6c4ebbfc894e08;hb=41095d351c425533c72c8ed862a1161fb58a65ba;hpb=e15e553ab5d98aa8fd1c0f8411c91ac4e11969b7 diff --git a/php.spec b/php.spec index f462bcc..e25366b 100644 --- a/php.spec +++ b/php.spec @@ -147,7 +147,7 @@ Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирова Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері Name: %{orgname}%{php_suffix} Version: 7.3.0 -Release: 1 +Release: 2 Epoch: 4 # All files licensed under PHP version 3.01, except # Zend is licensed under Zend @@ -2172,6 +2172,11 @@ export PROG_SENDMAIL="/usr/lib/sendmail" export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \ -I%{_includedir}/xmlrpc-epi" +# This should be detected by configure and set there, +# but looks like the build system is hosed on 7.3 +export CXXFLAGS="%{rpmcxxflags} -fPIC -DPIC" +export CFLAGS="%{rpmcflags} -fPIC -DPIC" + sapis=" cli %if %{with cgi}