Add support for MIPS architecture to config.h

This commit is contained in:
Michal Toman 2015-09-04 14:23:36 +02:00 committed by Vít Ondruch
parent 8e1e241814
commit bd75b0a7fe
2 changed files with 12 additions and 1 deletions

View File

@ -44,6 +44,14 @@
#include "ruby/config-sparc.h"
#elif defined(__aarch64__)
#include "ruby/config-aarch64.h"
#elif defined(__mips64) && defined(__MIPSEL__)
#include "ruby/config-mips64el.h"
#elif defined(__mips64)
#include "ruby/config-mips64.h"
#elif defined(__mips) && defined(__MIPSEL__)
#include "ruby/config-mipsel.h"
#elif defined(__mips)
#include "ruby/config-mips.h"
#else
#error "The ruby-devel package is not usable with the architecture."
#endif

View File

@ -21,7 +21,7 @@
%endif
%global release 44
%global release 45
%{!?release_string:%global release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}}
%global rubygems_version 2.4.5.1
@ -893,6 +893,9 @@ make check TESTS="-v $DISABLE_TESTS"
%{ruby_libdir}/tkextlib
%changelog
* Fri Sep 04 2015 Michal Toman <mtoman@fedoraproject.org> - 2.2.3-45
- Add support for MIPS architecture to config.h
* Tue Sep 01 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.3-44
- Update to Ruby 2.2.3.