forked from pool/lua54
- Don't use %make_build macro, which doesn't work on SLE-12
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=2
This commit is contained in:
parent
03bbef18cf
commit
26b22178cd
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 6 21:20:00 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Don't use %make_build macro, which doesn't work on SLE-12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 6 15:51:45 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -130,7 +130,7 @@ cat doc/luac.1 | sed 's/TH LUAC 1/TH LUAC%{major_version} 1/' > doc/luac%{major_
|
||||
%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_build -C src \
|
||||
make -O -j3 V=1 VERBOSE=1 -C src \
|
||||
CC="cc" \
|
||||
MYCFLAGS="%{optflags} -std=gnu99 -D_GNU_SOURCE -fPIC -DLUA_USE_LINUX -DLUA_COMPAT_MODULE" \
|
||||
MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" \
|
||||
|
Loading…
Reference in New Issue
Block a user