greghellings pushed to biblesync (f22). "Added -fPIC to builds to satisfy Xiphos"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 10 16:18:14 UTC 2015


>From a68c43c19049247b9399847ec8e7fdda1c113453 Mon Sep 17 00:00:00 2001
From: Gregory Hellings <greg.hellings at gmail.com>
Date: Fri, 10 Apr 2015 11:07:09 -0500
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 <greg.hellings at gmail.com> - 1.1.2-2
+- Added fPIC
+
 * Tue Dec 9 2014 Greg Hellings <greg.hellings at gmail.com> - 1.1.2-1
 - New upstream version
 - API incompatible with 1.0 series
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/biblesync.git/commit/?h=f22&id=a68c43c19049247b9399847ec8e7fdda1c113453


More information about the scm-commits mailing list