mcepl pushed to xiphos (epel7). "fix ppc64* builds"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Apr 19 19:08:17 UTC 2015


>From a19222557c355533d55802677aa438470cbbe584 Mon Sep 17 00:00:00 2001
From: Karsten Hopp <karsten at redhat.com>
Date: Thu, 16 Oct 2014 11:21:28 +0200
Subject: fix ppc64* builds


diff --git a/xiphos.spec b/xiphos.spec
index 52d60d9..7313a82 100644
--- a/xiphos.spec
+++ b/xiphos.spec
@@ -1,6 +1,6 @@
 Name:           xiphos 
 Version:        3.2.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Bible study and research tool
 License:        GPLv2+
 URL:            http://xiphos.org/
@@ -44,8 +44,15 @@ Project and elsewhere.
 rm -rf src/biblesync
 
 %build
-CFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1'   \
-CXXFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1' \
+CFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1'
+CXXFLAGS='%{optflags} -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1'
+%ifarch %{power64}
+ CFLAGS="$CFLAGS -D__SANE_USERSPACE_TYPES__"
+ CXXFLAGS="$CXXFLAGS -D__SANE_USERSPACE_TYPES__"
+%endif
+export CXXFLAGS
+export CFLAGS
+
 LDFLAGS='%{?__global_ldflags}'                              \
 ./waf configure	                     \
         --prefix=%{_prefix}          \
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/xiphos.git/commit/?h=epel7&id=a19222557c355533d55802677aa438470cbbe584


More information about the scm-commits mailing list