1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/testing/nim/nim-config-enable-ucontext.patch
2018-02-15 13:05:25 +00:00

11 lines
350 B
Diff

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"