diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/thread.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/thread.c b/firmware/thread.c index 5e543c558a..4c15fcc294 100644 --- a/firmware/thread.c +++ b/firmware/thread.c | |||
@@ -19,6 +19,15 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include "config.h" | 21 | #include "config.h" |
22 | |||
23 | #ifdef HAVE_SIGALTSTACK_THREADS | ||
24 | /* | ||
25 | * The sp check in glibc __longjmp_chk() will cause | ||
26 | * a fatal error when switching threads via longjmp(). | ||
27 | */ | ||
28 | #undef _FORTIFY_SOURCE | ||
29 | #endif | ||
30 | |||
22 | #include <stdbool.h> | 31 | #include <stdbool.h> |
23 | #include <stdio.h> | 32 | #include <stdio.h> |
24 | #include "thread.h" | 33 | #include "thread.h" |