Fix build on s390x
This commit is contained in:
parent
43c6f81c04
commit
7920ea8dde
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue