Fix RISC-V VxWorks LLVM target triples
The targets used the plain `$ARCH` triple, which LLVM normalizes to `$ARCH-unknown-unknown`, which is inconsistent with the the other VxWorks targets which all use `$ARCH-unknown-linux-gnu$ABI`.
This commit is contained in:
parent
ebf0cf75d3
commit
0434013a6e
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ use crate::spec::{StackProbeType, Target, TargetMetadata, TargetOptions, base};
|
|||
|
||||
pub(crate) fn target() -> Target {
|
||||
Target {
|
||||
llvm_target: "riscv32".into(),
|
||||
llvm_target: "riscv32-unknown-linux-gnu".into(),
|
||||
metadata: TargetMetadata {
|
||||
description: None,
|
||||
tier: Some(3),
|
||||
|
|
|
@ -2,7 +2,7 @@ use crate::spec::{StackProbeType, Target, TargetMetadata, TargetOptions, base};
|
|||
|
||||
pub(crate) fn target() -> Target {
|
||||
Target {
|
||||
llvm_target: "riscv64".into(),
|
||||
llvm_target: "riscv64-unknown-linux-gnu".into(),
|
||||
metadata: TargetMetadata {
|
||||
description: None,
|
||||
tier: Some(3),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue