diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2014-09-23 19:27:49 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2014-09-23 19:35:47 +0200 |
commit | abbfadd3c7691c42e71e127d98dccc755f60a626 (patch) | |
tree | 6e85a6feb863bfa47cf5698d042944f9308e6684 | |
parent | c9af4bb3820cbc9dcdd3d115e5bb5b5b364783f9 (diff) |
gmp: target 32 ABI when crosscompiled from a x86_64 host
-rw-r--r-- | recipes/toolchain/gmp.recipe | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/toolchain/gmp.recipe b/recipes/toolchain/gmp.recipe index 218cd8c0..cd29dd6b 100644 --- a/recipes/toolchain/gmp.recipe +++ b/recipes/toolchain/gmp.recipe @@ -12,3 +12,5 @@ class Recipe(recipe.Recipe): def prepare(self): self.remotes = {'origin': '%s/%s' % (self.config.git_root, 'gmp')} + if self.config.target_arch == Architecture.X86: + self.new_env['ABI'] = "32" |