fix ppc64le build

This commit is contained in:
Karsten Hopp 2014-10-01 21:40:06 +02:00
commit df7f8821cb

View file

@ -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@redhat.com> 0.9.1-28
- fix ppc64le build
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild