Skip to content

Commit 9e1ff20

Browse files
committed
Add a specific case for Linux targets to convert the GNU triplet format
1 parent b287a0c commit 9e1ff20

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

configure

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4342,6 +4342,9 @@ else
43424342
esac
43434343
CARGO_TARGET="${cargo_host%%-apple-darwin*}-apple-darwin"
43444344
;;
4345+
*-pc-linux-*)
4346+
CARGO_TARGET=$(echo "$host" | sed 's/-pc-linux-/-unknown-linux-/')
4347+
;;
43454348
*)
43464349
CARGO_TARGET="$host"
43474350
;;

0 commit comments

Comments
 (0)