Squashed aarch64_unknown_nto_qnx700 support

This commit is contained in:
Yuri Astrakhan 2024-07-26 17:33:59 -04:00
parent ac77e88f7a
commit f41e0bb41d
10 changed files with 84 additions and 40 deletions

View file

@ -165,8 +165,15 @@ extern "C" {}
extern "C" {}
#[cfg(target_os = "nto")]
#[link(name = "gcc_s")]
extern "C" {}
cfg_if::cfg_if! {
if #[cfg(target_env = "nto70")] {
#[link(name = "gcc")]
extern "C" {}
} else {
#[link(name = "gcc_s")]
extern "C" {}
}
}
#[cfg(target_os = "hurd")]
#[link(name = "gcc_s")]