[packages/ElectricFence] Add -fPIC to CFLAGS, so it builds on x86_64

jajcus jajcus at pld-linux.org
Fri Dec 7 09:37:17 CET 2012


commit 35fdbb2d94178f39e109294c095a2aa698cd6819
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Fri Dec 7 09:36:49 2012 +0100

    Add -fPIC to CFLAGS, so it builds on x86_64

 ElectricFence.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ElectricFence.spec b/ElectricFence.spec
index 9ef89a4..9f6929b 100644
--- a/ElectricFence.spec
+++ b/ElectricFence.spec
@@ -104,7 +104,7 @@ Biblioteka statyczna Electric Fence.
 
 %build
 %{__make} \
-	CFLAGS="%{rpmcflags} -DUSE_SEMAPHORE"
+	CFLAGS="%{rpmcflags} -fPIC -DUSE_SEMAPHORE"
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ElectricFence.git/commitdiff/35fdbb2d94178f39e109294c095a2aa698cd6819



More information about the pld-cvs-commit mailing list