summaryrefslogtreecommitdiffstats
path: root/php.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php.spec')
-rw-r--r--php.spec11
1 files changed, 11 insertions, 0 deletions
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/