summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2014-09-23 19:27:49 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2014-09-23 19:35:47 +0200
commitabbfadd3c7691c42e71e127d98dccc755f60a626 (patch)
tree6e85a6feb863bfa47cf5698d042944f9308e6684
parentc9af4bb3820cbc9dcdd3d115e5bb5b5b364783f9 (diff)
gmp: target 32 ABI when crosscompiled from a x86_64 host
-rw-r--r--recipes/toolchain/gmp.recipe2
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"