[sdljava/f21] fix ppc64le build
Karsten Hopp
karsten at fedoraproject.org
Wed Oct 1 19:41:32 UTC 2014
commit df7f8821cb27cb41eacb578798bfd8d74823428e
Author: Karsten Hopp <karsten at redhat.com>
Date: Wed Oct 1 21:40:06 2014 +0200
fix ppc64le build
sdljava.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/sdljava.spec b/sdljava.spec
index 3a504bd..8a4f8f9 100644
--- a/sdljava.spec
+++ b/sdljava.spec
@@ -7,7 +7,7 @@
Name: sdljava
Version: 0.9.1
-Release: 27%{?dist}
+Release: 28%{?dist}
Summary: Java binding to the SDL API
Group: System Environment/Libraries
License: LGPLv2+
@@ -107,6 +107,9 @@ export ARCH_DEFINE="-D__powerpc__ -D__LONG_DOUBLE_128__"
%ifarch ppc64
export ARCH_DEFINE="-D__powerpc__ -D__powerpc64__ -D__LONG_DOUBLE_128__"
%endif
+%ifarch ppc64le
+export ARCH_DEFINE="-D__powerpc__ -D__powerpc64__ -D__LITTLE_ENDIAN__ -D\"__BYTE_ORDER__=1234\" -D\"_CALL_ELF=2\" -D__LONG_DOUBLE_128__"
+%endif
# special case ix86 as all of ix86 should define __i386__
%ifarch %{ix86}
export ARCH_DEFINE="-D__i386__"
@@ -201,6 +204,9 @@ ln -s ../../fonts/dejavu/DejaVuSans-BoldOblique.ttf \
%changelog
+* Wed Oct 01 2014 Karsten Hopp <karsten at redhat.com> 0.9.1-28
+- fix ppc64le build
+
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.1-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
More information about the scm-commits
mailing list