summaryrefslogtreecommitdiffstats
path: root/php.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-19 10:06:23 +0200
committerRemi Collet <remi@remirepo.net>2020-08-19 10:06:23 +0200
commit077ababef39cfada8e65abb8ba14fc4bb01f13ab (patch)
treef84d528cf5fe30412e5dbaba348996ccedbcb604 /php.spec
parent031609a462816301a82ff822012965f240087eb9 (diff)
f33 build
Diffstat (limited to 'php.spec')
-rw-r--r--php.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/php.spec b/php.spec
index dfdd9d0..a0c2609 100644
--- a/php.spec
+++ b/php.spec
@@ -1071,6 +1071,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/