Skip to content

Commit 8fe7fd6

Browse files
committed
configure: cleanup - parsing supported target triples
1 parent 5df1aaa commit 8fe7fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

+1-1
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ fi
575575
CFG_PREFIX=${CFG_PREFIX%/}
576576
CFG_HOST_TRIPLES="$(echo $CFG_HOST_TRIPLES | tr ',' ' ')"
577577
CFG_TARGET_TRIPLES="$(echo $CFG_TARGET_TRIPLES | tr ',' ' ')"
578-
CFG_SUPPORTED_TARGET_TRIPLES="$(grep ^CC_*=* $CFG_SRC_DIR/mk/platform.mk | sed 's,^[^_]*_,,' | sed 's/\([^=]*\).*/\1/' | xargs)"
578+
CFG_SUPPORTED_TARGET_TRIPLES="$(grep ^CC_*=* $CFG_SRC_DIR/mk/platform.mk | sed -e 's/^CC_//' -e 's/\([^=]*\).*/\1/' | xargs)"
579579

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

0 commit comments

Comments
 (0)