mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
it includes the definitions in the ucontext.h file. We also need set ASFLAGS to be re-entrant.
13 lines
473 B
Diff
13 lines
473 B
Diff
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
|