From 6336305c53691c56669450c7ddf7f88de44c289b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Mon, 28 Mar 2011 16:26:32 +0000
Subject: [PATCH]  - simplify autodetection of build hos for more reliable
 detection

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44682 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/software-profiles/gcc.cfg | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/buildout/software-profiles/gcc.cfg b/buildout/software-profiles/gcc.cfg
index 4073daa70d..ae9386c3c1 100644
--- a/buildout/software-profiles/gcc.cfg
+++ b/buildout/software-profiles/gcc.cfg
@@ -66,7 +66,11 @@ recipe = hexagonit.recipe.cmmi
 path = ${gcc-java-source:location}
 md5sum = bb3265edf0fa7543e50cedb93e04e427
 configure-command = make clean ; ./configure
+# GMP does not correctly detect achitecture so it have to be given
+# as hexagonit.recipe.cmmi is using shell expansion in subproceses
+# backticks are working
 configure-options =
+  --build=`uname -m`-linux
   --enable-languages=java
   --disable-multilib
   --with-gmp=${gmp:location}
-- 
2.30.9