Merge pull request #11 from microsoft/mamalisz/fix-lua
Fix lua build errors adding fPIC
This commit is contained in:
commit
4a1136c03c
|
@ -4,7 +4,7 @@
|
|||
Summary: Programming language
|
||||
Name: lua
|
||||
Version: 5.3.5
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: MIT
|
||||
URL: https://www.lua.org
|
||||
Group: Development/Tools
|
||||
|
@ -31,7 +31,7 @@ Static libraries and header files for the support library for lua
|
|||
%setup -q
|
||||
%patch0 -p1
|
||||
sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h
|
||||
sed -i 's/CFLAGS= -fPIC -O2 /CFLAGS+= -DLUA_COMPAT_MODULE /' src/Makefile
|
||||
sed -i 's/CFLAGS= -fPIC -O2 /CFLAGS+= -fPIC -O2 -DLUA_COMPAT_MODULE /' src/Makefile
|
||||
cp %{SOURCE1} ./
|
||||
|
||||
%build
|
||||
|
@ -91,6 +91,8 @@ rm -rf %{buildroot}
|
|||
%{_libdir}/liblua.so
|
||||
|
||||
%changelog
|
||||
* Tue Aug 11 2020 Mateusz Malisz <mamalisz@microsoft.com> 5.3.5-6
|
||||
- Append -fPIC and -O2 to CFLAGS to fix build issues.
|
||||
* Fri Jul 31 2020 Leandro Pereira <leperei@microsoft.com> 5.3.5-5
|
||||
- Don't stomp on CFLAGS.
|
||||
* Thu Jun 06 2020 Joe Schmitt <joschmit@microsoft.com> 5.3.5-4
|
||||
|
|
|
@ -143,7 +143,7 @@ libltdl-2.4.6-5.cm1.aarch64.rpm
|
|||
libltdl-devel-2.4.6-5.cm1.aarch64.rpm
|
||||
pcre-libs-8.42-4.cm1.aarch64.rpm
|
||||
krb5-1.17-3.cm1.aarch64.rpm
|
||||
lua-5.3.5-5.cm1.aarch64.rpm
|
||||
lua-5.3.5-6.cm1.aarch64.rpm
|
||||
mariner-rpm-macros-1.0-3.cm1.noarch.rpm
|
||||
mariner-check-macros-1.0-3.cm1.noarch.rpm
|
||||
mariner-repos-1.0-8.cm1.noarch.rpm
|
||||
|
|
|
@ -143,7 +143,7 @@ libltdl-2.4.6-5.cm1.x86_64.rpm
|
|||
libltdl-devel-2.4.6-5.cm1.x86_64.rpm
|
||||
pcre-libs-8.42-4.cm1.x86_64.rpm
|
||||
krb5-1.17-3.cm1.x86_64.rpm
|
||||
lua-5.3.5-5.cm1.x86_64.rpm
|
||||
lua-5.3.5-6.cm1.x86_64.rpm
|
||||
mariner-rpm-macros-1.0-3.cm1.noarch.rpm
|
||||
mariner-check-macros-1.0-3.cm1.noarch.rpm
|
||||
mariner-repos-1.0-8.cm1.noarch.rpm
|
||||
|
|
|
@ -223,9 +223,9 @@ libxml2-python-2.9.10-1.cm1.aarch64.rpm
|
|||
libxslt-1.1.34-1.cm1.aarch64.rpm
|
||||
libxslt-debuginfo-1.1.34-1.cm1.aarch64.rpm
|
||||
libxslt-devel-1.1.34-1.cm1.aarch64.rpm
|
||||
lua-5.3.5-5.cm1.aarch64.rpm
|
||||
lua-debuginfo-5.3.5-5.cm1.aarch64.rpm
|
||||
lua-devel-5.3.5-5.cm1.aarch64.rpm
|
||||
lua-5.3.5-6.cm1.aarch64.rpm
|
||||
lua-debuginfo-5.3.5-6.cm1.aarch64.rpm
|
||||
lua-devel-5.3.5-6.cm1.aarch64.rpm
|
||||
lvm2-2.03.05-5.cm1.aarch64.rpm
|
||||
lvm2-debuginfo-2.03.05-5.cm1.aarch64.rpm
|
||||
lvm2-devel-2.03.05-5.cm1.aarch64.rpm
|
||||
|
|
|
@ -223,9 +223,9 @@ libxml2-python-2.9.10-1.cm1.x86_64.rpm
|
|||
libxslt-1.1.34-1.cm1.x86_64.rpm
|
||||
libxslt-debuginfo-1.1.34-1.cm1.x86_64.rpm
|
||||
libxslt-devel-1.1.34-1.cm1.x86_64.rpm
|
||||
lua-5.3.5-5.cm1.x86_64.rpm
|
||||
lua-debuginfo-5.3.5-5.cm1.x86_64.rpm
|
||||
lua-devel-5.3.5-5.cm1.x86_64.rpm
|
||||
lua-5.3.5-6.cm1.x86_64.rpm
|
||||
lua-debuginfo-5.3.5-6.cm1.x86_64.rpm
|
||||
lua-devel-5.3.5-6.cm1.x86_64.rpm
|
||||
lvm2-2.03.05-5.cm1.x86_64.rpm
|
||||
lvm2-debuginfo-2.03.05-5.cm1.x86_64.rpm
|
||||
lvm2-devel-2.03.05-5.cm1.x86_64.rpm
|
||||
|
|
Loading…
Reference in New Issue