2019-12-22 17:42:04 -05:00
|
|
|
use crate::spec::{RelroLevel, TargetOptions};
|
2016-09-25 16:55:40 -05:00
|
|
|
|
|
|
|
|
pub fn opts() -> TargetOptions {
|
|
|
|
|
TargetOptions {
|
2020-10-08 20:54:45 +03:00
|
|
|
target_os: "haiku".to_string(),
|
2016-09-25 16:55:40 -05:00
|
|
|
dynamic_linking: true,
|
|
|
|
|
executables: true,
|
2017-04-22 13:47:36 +12:00
|
|
|
has_rpath: false,
|
2016-12-22 22:20:47 -07:00
|
|
|
target_family: Some("unix".to_string()),
|
2017-07-14 22:01:37 +02:00
|
|
|
relro_level: RelroLevel::Full,
|
2016-09-25 16:55:40 -05:00
|
|
|
linker_is_gnu: true,
|
2019-12-22 17:42:04 -05:00
|
|
|
..Default::default()
|
2016-09-25 16:55:40 -05:00
|
|
|
}
|
|
|
|
|
}
|