From ec4295e9dcc8d8d7c07e31adbe7893650a4cb541 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 20 Aug 2020 11:09:04 +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 4f6a77d..bcf2495 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 @@ -1122,6 +1127,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