summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-20 11:09:04 +0200
committerRemi Collet <remi@remirepo.net>2020-08-20 11:09:04 +0200
commitec4295e9dcc8d8d7c07e31adbe7893650a4cb541 (patch)
tree130013004aac5595043cfa5a0eb9ea88d3c0ac64
parent696a742badfcc181fdea421702524a2176d44b20 (diff)
F33 build
-rw-r--r--php.spec11
1 files changed, 11 insertions, 0 deletions
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/