X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=php.spec;h=e25366b27970bc4810114edd7df735706d6c3117;hb=41095d351c425533c72c8ed862a1161fb58a65ba;hp=632396ed09f62749908cfa70013a0dcda59e4bb0;hpb=c5549919419b5888c219c98b421cf560bffb2455;p=packages%2Fphp.git diff --git a/php.spec b/php.spec index 632396e..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: 0.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}