[rtems-tools commit] Fix CXC build for x86-w64-mingw32

Sebastian Huber sebh at rtems.org
Tue Jun 19 10:17:44 UTC 2018


Module:    rtems-tools
Branch:    master
Commit:    845054a2ac1f470c5dd79361646be0243bb91160
Changeset: http://git.rtems.org/rtems-tools/commit/?id=845054a2ac1f470c5dd79361646be0243bb91160

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jun 19 12:15:17 2018 +0200

Fix CXC build for x86-w64-mingw32

Update #3461.

---

 wscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wscript b/wscript
index d4f841e..1716b90 100644
--- a/wscript
+++ b/wscript
@@ -145,7 +145,7 @@ def rebuild(ctx):
     waflib.Options.commands.extend(['clean', 'build'])
 
 def check_options(ctx, host):
-    if host in ['mingw32']:
+    if host in ['mingw32', 'x86_64-w64-mingw32']:
         ctx.env.HOST = host
         ctx.env.CC = '%s-gcc' % (host)
         ctx.env.CXX = '%s-g++' % (host)



More information about the vc mailing list