From 5de5e64fb66fb65f9f81281f18e45f26c826d889 Mon Sep 17 00:00:00 2001 From: Michal Toman Date: Fri, 4 Sep 2015 14:23:36 +0200 Subject: [PATCH] Add support for MIPS architecture to config.h --- config.h | 8 ++++++++ ruby.spec | 1 + 2 files changed, 9 insertions(+) diff --git a/config.h b/config.h index b34e398..39e4a5c 100644 --- a/config.h +++ b/config.h @@ -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 diff --git a/ruby.spec b/ruby.spec index ba7d28c..65eb090 100644 --- a/ruby.spec +++ b/ruby.spec @@ -893,6 +893,7 @@ make check TESTS="-v $DISABLE_TESTS" - Fix directory ownership. - Fix the git BR following the git package split. - Move gemified net-telnet into subpackage. +- Add support for MIPS architecture to config.h * Tue Feb 03 2015 Vít Ondruch - 2.2.0-5 - Make operating_system.rb more robust.