]>
Commit | Line | Data |
---|---|---|
cdc7bbd5 | 1 | use crate::spec::{RelroLevel, TargetOptions}; |
c1a9b12d SL |
2 | |
3 | pub fn opts() -> TargetOptions { | |
4 | TargetOptions { | |
29967ef6 | 5 | os: "netbsd".to_string(), |
c1a9b12d SL |
6 | dynamic_linking: true, |
7 | executables: true, | |
17df50a5 | 8 | families: vec!["unix".to_string()], |
0bf4aa26 | 9 | no_default_libraries: false, |
c1a9b12d | 10 | has_rpath: true, |
c1a9b12d | 11 | position_independent_executables: true, |
3b2f2976 | 12 | relro_level: RelroLevel::Full, |
f9f354fc | 13 | use_ctors_section: true, |
29967ef6 | 14 | dwarf_version: Some(2), |
dfeec247 | 15 | ..Default::default() |
c1a9b12d SL |
16 | } |
17 | } |