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