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 \