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

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Apr 19 18:48:32 UTC 2015


>From d204529f8036c4d5f1e6ba402a48979967e12144 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 ef1e972..53c673f 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/
@@ -35,8 +35,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=d204529f8036c4d5f1e6ba402a48979967e12144


More information about the scm-commits mailing list