2021-03-05 14:00:03 +00:00
|
|
|
diff --git a/config/nim.cfg b/config/nim.cfg
|
2021-10-19 12:07:57 +01:00
|
|
|
index 3b964d124..850ed0ed9 100644
|
2021-03-05 14:00:03 +00:00
|
|
|
--- a/config/nim.cfg
|
|
|
|
+++ b/config/nim.cfg
|
|
|
|
@@ -8,26 +8,12 @@
|
|
|
|
# Environment variables can be accessed like so:
|
|
|
|
# gcc.path %= "$CC_PATH"
|
|
|
|
|
|
|
|
-cc = gcc
|
|
|
|
-
|
|
|
|
# additional options always passed to the compiler:
|
|
|
|
--parallel_build: "0" # 0 to auto-detect number of processors
|
|
|
|
|
|
|
|
hint[LineTooLong]=off
|
|
|
|
#hint[XDeclaredButNotUsed]=off
|
|
|
|
|
|
|
|
-# Examples of how to setup a cross-compiler:
|
|
|
|
-
|
|
|
|
-# Cross-compiling for Raspberry Pi.
|
|
|
|
-# (This compiler is available in gcc-arm-linux-gnueabihf package on Ubuntu)
|
|
|
|
-arm.linux.gcc.exe = "arm-linux-gnueabihf-gcc"
|
|
|
|
-arm.linux.gcc.linkerexe = "arm-linux-gnueabihf-gcc"
|
|
|
|
-
|
|
|
|
-# For OpenWRT, you will also need to adjust PATH to point to your toolchain.
|
|
|
|
-mips.linux.gcc.exe = "mips-openwrt-linux-gcc"
|
|
|
|
-mips.linux.gcc.linkerexe = "mips-openwrt-linux-gcc"
|
|
|
|
-
|
|
|
|
-
|
|
|
|
path="$lib/deprecated/core"
|
|
|
|
path="$lib/deprecated/pure"
|
|
|
|
path="$lib/pure/collections"
|