diff --git a/src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs b/src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs index 46cf4cd8ae3..7c24c88f7ae 100644 --- a/src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs +++ b/src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs @@ -65,7 +65,7 @@ pub fn target() -> Result { ..Default::default() }; Ok(Target { - llvm_target: "x86_64-unknown-linux-gnu".into(), + llvm_target: "x86_64-elf".into(), target_endian: "little".into(), target_pointer_width: "64".into(), target_c_int_width: "32".into(),