summaryrefslogtreecommitdiffstats
path: root/main/libc0.9.32/ucontext-reentrant.patch
blob: 2417e15a4847fc3efa2c02818fb90abb5626c730 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/libc/sysdeps/linux/i386/Makefile.arch b/libc/sysdeps/linux/i386/Makefile.arch
index b47f5a0..8b1edc2 100644
--- a/libc/sysdeps/linux/i386/Makefile.arch
+++ b/libc/sysdeps/linux/i386/Makefile.arch
@@ -18,4 +18,7 @@ endif
 
 ifeq ($(UCLIBC_HAS_CONTEXT_FUNCS),y)
 SSRC += makecontext.S setcontext.S getcontext.S swapcontext.S
+ASFLAGS-setcontext.S := -D_LIBC_REENTRANT
+ASFLAGS-getcontext.S := -D_LIBC_REENTRANT
+ASFLAGS-swapcontext.S := -D_LIBC_REENTRANT
 endif