From 59399088ca168621a6fcd012875fbe83db09d706 Mon Sep 17 00:00:00 2001 From: OGINO Masanori Date: Mon, 22 Jun 2015 12:53:34 +0900 Subject: [PATCH] Put CFG_BUILD triples into CFG_HOST triples. I've configured with the parameters suggested by @brson in #18670 and confirmed that it works on Gentoo Linux amd64. Fixes #18670. Signed-off-by: OGINO Masanori --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index b0549205ace..1db7f483a9f 100755 --- a/configure +++ b/configure @@ -1037,6 +1037,14 @@ for target_file in ${CFG_SRC_DIR}mk/cfg/*.mk; do CFG_SUPPORTED_TARGET="${CFG_SUPPORTED_TARGET} $(basename "$target_file" .mk)" done +# copy build-triples to host-triples so that builds are a subset of hosts +V_TEMP="" +for i in $CFG_BUILD $CFG_HOST; +do + echo "$V_TEMP" | grep -qF $i || V_TEMP="$V_TEMP${V_TEMP:+ }$i" +done +CFG_HOST=$V_TEMP + # copy host-triples to target-triples so that hosts are a subset of targets V_TEMP="" for i in $CFG_HOST $CFG_TARGET; -- 2.44.0