diff options
author | Loïc Bartoletti <lbartoletti@FreeBSD.org> | 2020-04-04 11:11:50 +0000 |
---|---|---|
committer | Loïc Bartoletti <lbartoletti@FreeBSD.org> | 2020-04-04 11:11:50 +0000 |
commit | 4dba87e83cd94e5593da562cc5153b9686d37572 (patch) | |
tree | 90c83c9808b30cfb525694f31c0f7c54f388a724 /lang/nim/files/patch-config-nim.cfg | |
parent | multimedia/libdvdnav: fix build on GCC architectures (diff) |
lang/nim: Update to 1.2.0
- Remove files/patch-koch.nim (This patch is not needed to build nim and tools)
- Update files/patch-install.sh and files/patch-config-nim.cfg
- Unbreak arm (fixed upstream) [1]
- Add all optional tools
- Order pkg-plist
- Move USES (pet portlint)
[1] https://github.com/nim-lang/Nim/pull/13822
Changelog:
- https://nim-lang.org/blog/2020/04/03/version-120-released.html
PR: 245328
Approved by: tcberner (mentor), Neal Nelson (maintainer)
Differential Revision: https://reviews.freebsd.org/D24294
Notes
Notes:
svn path=/head/; revision=530639
Diffstat (limited to 'lang/nim/files/patch-config-nim.cfg')
-rw-r--r-- | lang/nim/files/patch-config-nim.cfg | 19 |
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__" |