- Added necessary -fPIC for compilation (odly was missing)

This commit is contained in:
Phil Knirsch 2008-07-29 16:14:26 +00:00
parent a3f621447f
commit 2f8c3231b2

View File

@ -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