diff options
Diffstat (limited to 'testing/nim/nim-config-enable-ucontext.patch')
-rw-r--r-- | testing/nim/nim-config-enable-ucontext.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/nim/nim-config-enable-ucontext.patch b/testing/nim/nim-config-enable-ucontext.patch new file mode 100644 index 0000000000..87216497be --- /dev/null +++ b/testing/nim/nim-config-enable-ucontext.patch @@ -0,0 +1,11 @@ +diff -ruN a/config/nim.cfg b/config/nim.cfg +--- a/config/nim.cfg 2018-02-15 00:45:38.251038499 +0100 ++++ b/config/nim.cfg 2018-02-15 00:46:48.937858896 +0100 +@@ -231,3 +231,7 @@ + + # Configuration for the Tiny C Compiler: + tcc.options.always = "-w" ++ ++# Enable libucontext ++gcc.options.linker %= "-lucontext" ++llvm_gcc.options.linker %= "-lucontext" |