From 87db93a765da4d7de8a976050e50db0cb88b751e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 20 Aug 2020 07:18:15 +0200 Subject: F33 build --- php.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'php.spec') diff --git a/php.spec b/php.spec index 3f8ae92..ca86872 100644 --- a/php.spec +++ b/php.spec @@ -62,8 +62,13 @@ %global oraclever 18.3 %endif %global oraclelib 18.1 + +%else +%ifarch x86_64 +%global oraclever 19.8 %else %global oraclever 19.6 +%endif %global oraclelib 19.1 %endif @@ -1116,6 +1121,12 @@ exit 1 %build +# This package fails to build with LTO due to undefined symbols. LTO +# was disabled in OpenSuSE as well, but with no real explanation why +# beyond the undefined symbols. It really shold be investigated further. +# Disable LTO +%define _lto_cflags %{nil} + %{?dtsenable} # Set build date from https://reproducible-builds.org/specs/source-date-epoch/ -- cgit