summaryrefslogtreecommitdiffstats
path: root/php74.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php74.spec')
-rw-r--r--php74.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/php74.spec b/php74.spec
index 4a005cd..20186aa 100644
--- a/php74.spec
+++ b/php74.spec
@@ -1286,6 +1286,12 @@ fi
%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/