Fix FTBFS on ARM (rhbz#893157)
This commit is contained in:
parent
f2cc62846a
commit
34ba45fa17
1 changed files with 11 additions and 1 deletions
12
sdljava.spec
12
sdljava.spec
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
Name: sdljava
|
||||
Version: 0.9.1
|
||||
Release: 21%{?dist}
|
||||
Release: 22%{?dist}
|
||||
Summary: Java binding to the SDL API
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
|
|
@ -111,6 +111,13 @@ export ARCH_DEFINE="-D__powerpc__ -D__powerpc64__ -D__LONG_DOUBLE_128__"
|
|||
%ifarch %{ix86}
|
||||
export ARCH_DEFINE="-D__i386__"
|
||||
%endif
|
||||
# arm also needs a bunch of special defines
|
||||
%ifarch %{arm}
|
||||
export ARCH_DEFINE="-D__arm__ -D__ARMEL__ -D__ARM_EABI__"
|
||||
%ifnarch armv5tel
|
||||
export ARCH_DEFINE="$ARCH_DEFINE -D__ARM_PCS_VFP"
|
||||
%endif
|
||||
%endif
|
||||
# All other archs
|
||||
if [ -z "$ARCH_DEFINE" ]; then
|
||||
export ARCH_DEFINE="-D__%{_arch}__"
|
||||
|
|
@ -194,6 +201,9 @@ ln -s ../../fonts/dejavu/DejaVuSans-BoldOblique.ttf \
|
|||
|
||||
|
||||
%changelog
|
||||
* Sun Mar 24 2013 Hans de Goede <hdegoede@redhat.com> - 0.9.1-22
|
||||
- Fix FTBFS on ARM (rhbz#893157)
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue