From 2f8c3231b2bfd0dcf837dcef55a9fd173b0dc083 Mon Sep 17 00:00:00 2001 From: Phil Knirsch Date: Tue, 29 Jul 2008 16:14:26 +0000 Subject: [PATCH] - Added necessary -fPIC for compilation (odly was missing) --- OpenIPMI.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 8e4b9c0..206b982 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -76,6 +76,7 @@ done popd %build +export CFLAGS=-fPIC %configure --with-pythoninstall=%{python_sitearch} sed -i 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool sed -i 's| -rpath \$(libdir)\( \$(libOpenIPMIposix_la_LDFLAGS)\)|\1|' unix/Makefile