summaryrefslogtreecommitdiff
path: root/lang/nim/files/patch-config-nim.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'lang/nim/files/patch-config-nim.cfg')
-rw-r--r--lang/nim/files/patch-config-nim.cfg19
1 files changed, 5 insertions, 14 deletions
diff --git a/lang/nim/files/patch-config-nim.cfg b/lang/nim/files/patch-config-nim.cfg
index 0ff00533ee84..f7959f5635bf 100644
--- a/lang/nim/files/patch-config-nim.cfg
+++ b/lang/nim/files/patch-config-nim.cfg
@@ -1,4 +1,4 @@
---- config/nim.cfg.orig 2019-07-22 09:41:23 UTC
+--- config/nim.cfg.orig 2020-04-03 17:22:53 UTC
+++ config/nim.cfg
@@ -8,7 +8,7 @@
# Environment variables can be accessed like so:
@@ -9,25 +9,16 @@
# additional options always passed to the compiler:
--parallel_build: "0" # 0 to auto-detect number of processors
-@@ -105,12 +105,6 @@ path="$lib/pure"
+@@ -118,12 +118,6 @@ path="$lib/pure"
+ clang.options.linker = "-ldl"
clang.cpp.options.linker = "-ldl"
tcc.options.linker = "-ldl"
- @end
+- @end
- @if bsd:
- # BSD got posix_spawn only recently, so we deactivate it for osproc:
- define:useFork
- # at least NetBSD has problems with thread local storage:
- tlsEmulation:on
-- @end
+ @end
@if haiku:
gcc.options.linker = "-Wl,--as-needed -lnetwork"
- gcc.cpp.options.linker = "-Wl,--as-needed -lnetwork"
-@@ -132,7 +126,7 @@ path="$lib/pure"
- @end
-
- @if nintendoswitch:
-- cc = "switch_gcc"
-+ cc = "switch_clang"
- switch_gcc.options.linker = "-g -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE"
- switch_gcc.cpp.options.linker = "-g -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE"
- switch_gcc.options.always = "-g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -D__SWITCH__"