From d54f7454b8bc48d5da62d79ff273e9620f5c987fcfe45daedc940ec0bf5105c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 2 Aug 2019 08:15:17 +0000 Subject: [PATCH] Accepting request 720487 from home:marxin:static Use FAT LTO objects in order to provide proper static library. OBS-URL: https://build.opensuse.org/request/show/720487 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua53?expand=0&rev=32 --- lua53.changes | 5 +++++ lua53.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/lua53.changes b/lua53.changes index b699cc7..7657283 100644 --- a/lua53.changes +++ b/lua53.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 2 08:13:02 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Tue Mar 12 12:04:26 UTC 2019 - Matej Cepl diff --git a/lua53.spec b/lua53.spec index 996a0c3..6e2e6a8 100644 --- a/lua53.spec +++ b/lua53.spec @@ -123,6 +123,7 @@ cat doc/lua.1 | sed 's/TH LUA 1/TH LUA%{major_version} 1/' > doc/lua%{major_ver cat doc/luac.1 | sed 's/TH LUAC 1/TH LUAC%{major_version} 1/' > doc/luac%{major_version}.1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects sed -i -e "s@lib/lua/@%{_lib}/lua/@g" src/luaconf.h export LIBTOOL="libtool --quiet" make %{?_smp_mflags} -C src \