diff options
Diffstat (limited to 'compiler/rustc_target/src/spec/base/nto_qnx.rs')
-rw-r--r-- | compiler/rustc_target/src/spec/base/nto_qnx.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/compiler/rustc_target/src/spec/base/nto_qnx.rs b/compiler/rustc_target/src/spec/base/nto_qnx.rs new file mode 100644 index 000000000..f1405e9b4 --- /dev/null +++ b/compiler/rustc_target/src/spec/base/nto_qnx.rs @@ -0,0 +1,18 @@ +use crate::spec::{cvs, RelroLevel, TargetOptions}; + +pub fn opts() -> TargetOptions { + TargetOptions { + crt_static_respected: true, + dynamic_linking: true, + executables: true, + families: cvs!["unix"], + has_rpath: true, + has_thread_local: false, + linker: Some("qcc".into()), + os: "nto".into(), + position_independent_executables: true, + static_position_independent_executables: true, + relro_level: RelroLevel::Full, + ..Default::default() + } +} |