added CFLAGS to compile with -fPIC [release 2.0.5-3mamba;Fri Apr 24 2020]
This commit is contained in:
parent
a0599b457f
commit
eb63a6c523
20
luajit.spec
20
luajit.spec
@ -1,8 +1,7 @@
|
||||
%define libpath %(echo %{_libdir} | cut -d/ -f 3)
|
||||
Name: luajit
|
||||
Version: 2.0.5
|
||||
Release: 2mamba
|
||||
Summary: a Just-In-Time Compiler for Lua
|
||||
Release: 3mamba
|
||||
Summary: A Just-In-Time Compiler for Lua
|
||||
Group: Applications/Development
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
@ -45,11 +44,19 @@ This package contains libraries and header files for developing applications tha
|
||||
%setup -q -n LuaJIT-%{version}
|
||||
|
||||
%build
|
||||
%make amalg PREFIX=/usr DESTDIR=%{buildroot} TARGET_STRIP=: MULTILIB=%{libpath}
|
||||
%make amalg \
|
||||
CFLAGS="%{optflags} -fPIC" \
|
||||
PREFIX=%{_prefix} \
|
||||
TARGET_STRIP=: \
|
||||
MULTILIB=%{_lib}
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall PREFIX=/usr DESTDIR=%{buildroot} MULTILIB=%{libpath}
|
||||
%makeinstall \
|
||||
CFLAGS="%{optflags} -fPIC" \
|
||||
PREFIX=%{_prefix} \
|
||||
DESTDIR=%{buildroot} \
|
||||
MULTILIB=%{_lib}
|
||||
|
||||
|
||||
%clean
|
||||
@ -80,6 +87,9 @@ This package contains libraries and header files for developing applications tha
|
||||
%{_libdir}/pkgconfig/luajit.pc
|
||||
|
||||
%changelog
|
||||
* Fri Apr 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.5-3mamba
|
||||
- added CFLAGS to compile with -fPIC
|
||||
|
||||
* Thu Apr 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.5-2mamba
|
||||
- enable debug package, libluajit: require luajit, cleanups
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user