diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-10-28 16:29:07 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-11-02 21:03:27 +0100 |
| commit | 3c58feaa085d9f082e0bff8ad72cfd9abb1ef75b (patch) | |
| tree | 0872bbf6ce446b45d28640715ca601a8062998cc /compiler/rustc_codegen_gcc | |
| parent | ead5dffeecee22fffc129bd96a92967fe68125d0 (diff) | |
| download | rust-3c58feaa085d9f082e0bff8ad72cfd9abb1ef75b.tar.gz rust-3c58feaa085d9f082e0bff8ad72cfd9abb1ef75b.zip | |
Fix config.sh script
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/config.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/config.sh b/compiler/rustc_codegen_gcc/config.sh index 006758e19e1..97a7dba886a 100644 --- a/compiler/rustc_codegen_gcc/config.sh +++ b/compiler/rustc_codegen_gcc/config.sh @@ -25,7 +25,7 @@ else exit 1 fi -HOST_TRIPLE=$(rustc -vV | grep host | cut -d: -f2 | tr -d " ") +HOST_TRIPLE=$($RUSTC -vV | grep host | cut -d: -f2 | tr -d " ") # TODO: remove $OVERWRITE_TARGET_TRIPLE when config.sh is removed. TARGET_TRIPLE="${OVERWRITE_TARGET_TRIPLE:-$HOST_TRIPLE}" |
