diff options
author | Rob Landley <rob@landley.net> | 2020-05-21 20:41:21 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-05-21 20:41:21 -0500 |
commit | 5818b7d9827952892087fb646ec7c71dfcb5f137 (patch) | |
tree | 5061486d5a9e874fe267490e117fe174b40db990 /lib | |
parent | c0b79b6e4276d6c3c5e5fb628b2e44c61872be0e (diff) | |
download | toybox-5818b7d9827952892087fb646ec7c71dfcb5f137.tar.gz |
Check the signal rather than special case a library and a target.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/portability.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/portability.c b/lib/portability.c index 294141c6..b6950e0a 100644 --- a/lib/portability.c +++ b/lib/portability.c @@ -430,9 +430,9 @@ static const struct signame signames[] = { // Non-POSIX signals that cause termination SIGNIFY(PROF), SIGNIFY(IO), #ifdef __linux__ -# if !defined(__GLIBC__) && !defined(__mips__) - SIGNIFY(STKFLT), -# endif +#ifdef SIGSTKFLT + SIGNIFY(STKFLT), // mips is broken, only target missing this +#endif SIGNIFY(POLL), SIGNIFY(PWR), #elif defined(__APPLE__) SIGNIFY(EMT), SIGNIFY(INFO), |