mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
Fix coroutines by using setjmp instead of ucontext (which musl doesn't support because it deprecated)
11 lines
359 B
Diff
11 lines
359 B
Diff
diff -ruN a/config/nim.cfg b/config/nim.cfg
|
|
--- a/config/nim.cfg 2018-01-06 22:48:43.920598426 +0100
|
|
+++ b/config/nim.cfg 2018-01-06 22:49:43.620979479 +0100
|
|
@@ -9,6 +9,7 @@
|
|
# gcc.path %= "$CC_PATH"
|
|
|
|
cc = gcc
|
|
+define:nimCoroutinesSetjmp
|
|
|
|
# additional options always passed to the compiler:
|
|
--parallel_build: "0" # 0 to auto-detect number of processors
|