Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Ticket #3630: 0001-Allow-build-with-i686-w64-mingw32.patch

File 0001-Allow-build-with-i686-w64-mingw32.patch, 734 bytes (added by Markus Bernd Moessner, on 12/02/18 at 16:06:58)

Patch to allow build of rtems-tools with i686-w64-mingw32

  • wscript

    From 66d698253759de71c63689c103cba31d4e266b9f Mon Sep 17 00:00:00 2001
    From: kaidoho <kho237115@gmail.com>
    Date: Sun, 2 Dec 2018 16:35:34 +0100
    Subject: [PATCH] Allow build with i686-w64-mingw32
    
    ---
     wscript | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/wscript b/wscript
    index f491d70..7eea8c6 100644
    a b def rebuild(ctx): 
    128128    waflib.Options.commands.extend(['clean', 'build'])
    129129
    130130def check_options(ctx, host):
    131     if host in ['mingw32', 'x86_64-w64-mingw32']:
     131    if host in ['mingw32', 'x86_64-w64-mingw32', 'i686-w64-mingw32']:
    132132        ctx.env.HOST = host
    133133        ctx.env.CC = '%s-gcc' % (host)
    134134        ctx.env.CXX = '%s-g++' % (host)