aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nim/nim-config-fix-coro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/nim/nim-config-fix-coro.patch')
-rw-r--r--testing/nim/nim-config-fix-coro.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/nim/nim-config-fix-coro.patch b/testing/nim/nim-config-fix-coro.patch
new file mode 100644
index 0000000000..c96ebf76fb
--- /dev/null
+++ b/testing/nim/nim-config-fix-coro.patch
@@ -0,0 +1,11 @@
+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