From a68c43c19049247b9399847ec8e7fdda1c113453 Mon Sep 17 00:00:00 2001 From: Gregory Hellings Date: Apr 10 2015 16:07:09 +0000 Subject: Added -fPIC to builds to satisfy Xiphos --- diff --git a/biblesync.spec b/biblesync.spec index 8a85096..95f2d8a 100644 --- a/biblesync.spec +++ b/biblesync.spec @@ -2,7 +2,7 @@ Name: biblesync Version: 1.1.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Cross-platform library for sharing Bible navigation Group: System Environment/Libraries @@ -39,6 +39,8 @@ that use %{name}. %build +export CFLAGS="$CFLAGS -fPIC" +export CXXFLAGS="$CXXFLAGS -fPIC" mkdir build pushd build %cmake -DLIBDIR=%{_libdir} .. -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" -DBIBLESYNC_SOVERSION=%{__soversion} @@ -67,6 +69,9 @@ popd %{_mandir}/man7/biblesync.7* %changelog +* Fri Apr 10 2015 Greg Hellings - 1.1.2-2 +- Added fPIC + * Tue Dec 9 2014 Greg Hellings - 1.1.2-1 - New upstream version - API incompatible with 1.0 series