From 1fb95914ffe5600653cb80af9b6f8bc15c07ddfc Mon Sep 17 00:00:00 2001 From: Gang He Date: Wed, 11 Sep 2019 10:07:35 +0000 Subject: [PATCH] Accepting request 729827 from home:cgiboudeaux:fat-lto-objects - Use -ffat-lto-objects when building static libraries. OBS-URL: https://build.opensuse.org/request/show/729827 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=120 --- ocfs2-tools.changes | 5 +++++ ocfs2-tools.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/ocfs2-tools.changes b/ocfs2-tools.changes index 6fcb445..6bb693b 100644 --- a/ocfs2-tools.changes +++ b/ocfs2-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 10 11:23:05 UTC 2019 - Christophe Giboudeaux + +- Use -ffat-lto-objects when building static libraries. + ------------------------------------------------------------------- Mon Mar 4 10:00:30 UTC 2019 - ghe@suse.com diff --git a/ocfs2-tools.spec b/ocfs2-tools.spec index 8c26fdb..223251d 100644 --- a/ocfs2-tools.spec +++ b/ocfs2-tools.spec @@ -175,6 +175,7 @@ OCFS2 filesystem. %patch504 -p1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects export PROJECT="ocfs2-tools" autoreconf -fi -I /usr/share/aclocal