blob: 1ddab7be180e07d75c6a211be29314006ce792fa [file] [log] [blame]
use crate::spec::{RelroLevel, TargetOptions};
use std::default::Default;
pub fn opts() -> TargetOptions {
TargetOptions {
dynamic_linking: true,
executables: true,
has_rpath: false,
target_family: Some("unix".to_string()),
relro_level: RelroLevel::Full,
linker_is_gnu: true,
..Default::default()
}
}