Skip to content

Commit 8896336

Browse files
committed
auto merge of #5576 : yichoi/rust/pull-0327, r=brson
minor fix configure: cleanup - parsing supported target triples
2 parents f7f6013 + 8fe7fd6 commit 8896336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ fi
572572
CFG_PREFIX=${CFG_PREFIX%/}
573573
CFG_HOST_TRIPLES="$(echo $CFG_HOST_TRIPLES | tr ',' ' ')"
574574
CFG_TARGET_TRIPLES="$(echo $CFG_TARGET_TRIPLES | tr ',' ' ')"
575-
CFG_SUPPORTED_TARGET_TRIPLES="$(grep ^CC_*=* $CFG_SRC_DIR/mk/platform.mk | sed 's,^[^_]*_,,' | sed 's/\([^=]*\).*/\1/' | xargs)"
575+
CFG_SUPPORTED_TARGET_TRIPLES="$(grep ^CC_*=* $CFG_SRC_DIR/mk/platform.mk | sed -e 's/^CC_//' -e 's/\([^=]*\).*/\1/' | xargs)"
576576

577577
# copy host-triples to target-triples so that hosts are a subset of targets
578578
V_TEMP=""

0 commit comments

Comments
 (0)