From 8fe7fd6dd6abe0ab7949ba11c05baaf30f79bdc4 Mon Sep 17 00:00:00 2001 From: Young-il Choi Date: Wed, 27 Mar 2013 13:35:20 +0900 Subject: [PATCH] configure: cleanup - parsing supported target triples --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index a58a0a6326c..7a2c02729e4 100755 --- a/configure +++ b/configure @@ -575,7 +575,7 @@ fi CFG_PREFIX=${CFG_PREFIX%/} CFG_HOST_TRIPLES="$(echo $CFG_HOST_TRIPLES | tr ',' ' ')" CFG_TARGET_TRIPLES="$(echo $CFG_TARGET_TRIPLES | tr ',' ' ')" -CFG_SUPPORTED_TARGET_TRIPLES="$(grep ^CC_*=* $CFG_SRC_DIR/mk/platform.mk | sed 's,^[^_]*_,,' | sed 's/\([^=]*\).*/\1/' | xargs)" +CFG_SUPPORTED_TARGET_TRIPLES="$(grep ^CC_*=* $CFG_SRC_DIR/mk/platform.mk | sed -e 's/^CC_//' -e 's/\([^=]*\).*/\1/' | xargs)" # copy host-triples to target-triples so that hosts are a subset of targets V_TEMP=""