diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-04-29 07:26:24 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-05-06 16:03:09 +0200 |
commit | 5fd390031a41bc79cf142468eb27c493268e8b87 (patch) | |
tree | c878c84e68feb5336e473d15fef3c10e01a858ef /recipes/toolchain | |
parent | a272332eb31fd49caf46bea3ce0b7ca78f58cfb3 (diff) |
mingw-w64: only build the CRT for the target arch
Diffstat (limited to 'recipes/toolchain')
-rw-r--r-- | recipes/toolchain/mingw-w64.recipe | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/toolchain/mingw-w64.recipe b/recipes/toolchain/mingw-w64.recipe index ee9f8b7e..3cb9de36 100644 --- a/recipes/toolchain/mingw-w64.recipe +++ b/recipes/toolchain/mingw-w64.recipe @@ -10,8 +10,10 @@ class Recipe(recipe.Recipe): def prepare(self): if self.config.target_arch == Architecture.X86: host = 'i686-w64-mingw32' + self.configure_options += ' --disable-lib64 ' else: host = 'x86_64-w64-mingw32' + self.configure_options += ' --disable-lib32 ' self.configure_options += ' --host=%s' % host files = ['%s/lib/%s' % (host, x) for x in self.files_crt] files.extend(['%s/lib/%s' % ('mingw', x) for x in self.files_crt]) |