Skip to content

Commit

Permalink
SGX target: don't pretend to be GNU/Linux to LLVM
Browse files Browse the repository at this point in the history
  • Loading branch information
Jethro Beekman committed Jul 15, 2019
1 parent 92b0f52 commit 35c248f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_target/spec/x86_64_fortanix_unknown_sgx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub fn target() -> Result<Target, String> {
..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(),
Expand Down

0 comments on commit 35c248f

Please sign in to comment.