Fix build on Linux/MIPS

Fixes #11965
This commit is contained in:
Johannes Altmanninger
2025-10-17 14:58:55 +02:00
parent 78e8f87e54
commit 41636c8e35
2 changed files with 11 additions and 1 deletions

View File

@@ -19,6 +19,8 @@ Other improvements
For distributors
----------------
- Fixed build on MIPS machines (:issue:`11965`).
- Fixed broken universal variables on Cygwin (:issue:`11948`).
fish 4.1.3 (released ???)

View File

@@ -417,7 +417,15 @@ macro_rules! signal_entry {
#[cfg(any(apple, bsd))]
signal_entry!(SIGINFO, SIGINFO_DESC),
#[cfg(target_os = "linux")]
#[cfg(all(
target_os = "linux",
not(any(
target_arch = "mips",
target_arch = "mips32r6",
target_arch = "mips64",
target_arch = "mips64r6",
))
))]
signal_entry!(SIGSTKFLT, SIGSTKFLT_DESC),
#[cfg(target_os = "linux")]