From 6ddb270fa0342eb0dc845b32373e13bc5c618462 Mon Sep 17 00:00:00 2001 From: Tim Niemueller Date: Sun, 15 Aug 2010 13:13:46 -0400 Subject: [PATCH] Add -fPIC to CFLAGS --- lua-posix.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua-posix.spec b/lua-posix.spec index 1885644..0352c55 100644 --- a/lua-posix.spec +++ b/lua-posix.spec @@ -25,7 +25,7 @@ to Lua programs. %build -make %{?_smp_mflags} PREFIX=%{_prefix} LUALIB=%{lualibdir} LUABIN=%{_bindir} CFLAGS="%{optflags}" +make %{?_smp_mflags} PREFIX=%{_prefix} LUALIB=%{lualibdir} LUABIN=%{_bindir} CFLAGS="%{optflags} -fPIC" %install @@ -46,6 +46,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Sun Aug 15 2010 Tim Niemueller - 5.1.7-1 - Update to 5.1.7 +- Add -fPIC to CFLAGS * Sat Jul 25 2009 Fedora Release Engineering - 5.1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild