Fix build on s390x

This commit is contained in:
Michael Simacek 2017-09-04 10:31:48 +03:00
commit 7920ea8dde

View file

@ -7,7 +7,7 @@
Name: sdljava
Version: 0.9.1
Release: 36%{?dist}
Release: 37%{?dist}
Summary: Java binding to the SDL API
License: LGPLv2+
URL: http://sdljava.sourceforge.net/
@ -124,6 +124,9 @@ export ARCH_DEFINE="-D__powerpc__ -D__powerpc64__ -D__LONG_DOUBLE_128__"
%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
%ifarch s390x
export ARCH_DEFINE="-D__s390x__ -D__LONG_DOUBLE_128__"
%endif
# special case ix86 as all of ix86 should define __i386__
%ifarch %{ix86}
export ARCH_DEFINE="-D__i386__"
@ -218,6 +221,9 @@ ln -s ../../fonts/dejavu/DejaVuSans-BoldOblique.ttf \
%changelog
* Mon Sep 04 2017 Michael Simacek <msimacek@redhat.com> - 0.9.1-37
- Fix build on s390x
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild