From: Marcin Krol Date: Sun, 9 Dec 2018 00:41:12 +0000 (+0000) Subject: - merged i686 fix from PLD X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=41095d351c425533c72c8ed862a1161fb58a65ba;p=packages%2Fphp.git - merged i686 fix from PLD --- 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}