2022-04-03 18:42:39 +02:00
|
|
|
use crate::spec::{cvs, TargetOptions};
|
2022-03-28 01:08:17 +02:00
|
|
|
|
2016-01-21 19:30:22 +03:00
|
|
|
pub fn opts() -> TargetOptions {
|
|
|
|
|
TargetOptions {
|
2022-03-22 11:43:05 +01:00
|
|
|
os: "solaris".into(),
|
2016-01-21 19:30:22 +03:00
|
|
|
dynamic_linking: true,
|
|
|
|
|
has_rpath: true,
|
2022-03-28 01:08:17 +02:00
|
|
|
families: cvs!["unix"],
|
2016-01-28 14:02:31 +03:00
|
|
|
is_like_solaris: true,
|
2021-05-20 16:38:40 -07:00
|
|
|
linker_is_gnu: false,
|
2019-04-14 19:05:21 +02:00
|
|
|
limit_rdylib_exports: false, // Linker doesn't support this
|
2020-07-22 15:49:04 +03:00
|
|
|
eh_frame_header: false,
|
2016-01-21 19:30:22 +03:00
|
|
|
|
|
|
|
|
..Default::default()
|
|
|
|
|
}
|
|
|
|
|
}
|