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
This commit is contained in:
Tomáš Chvátal 2019-08-02 08:15:17 +00:00 committed by Git OBS Bridge
parent f7b8cb78dc
commit d54f7454b8
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 2 08:13:02 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library.
-------------------------------------------------------------------
Tue Mar 12 12:04:26 UTC 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -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 \