diff options
author | Fredrik Høisæther Rasch <fredrik.rasch@gmail.com> | 2017-08-06 02:18:15 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-08-06 02:18:15 +0200 |
commit | c39e2029762387d05f7b3d81490c6129703c1b60 (patch) | |
tree | 68b9b76672de12c670808f882a014f77d7c40eb9 /config | |
parent | bbeadf184e613d6ae476fe4252d60b1e3a92e7dd (diff) | |
download | Nim-c39e2029762387d05f7b3d81490c6129703c1b60.tar.gz |
Introduce first class support for Android (#5772)
Diffstat (limited to 'config')
-rw-r--r-- | config/nim.cfg | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/nim.cfg b/config/nim.cfg index 291d2a3bc..042a94eaa 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -90,6 +90,16 @@ path="$lib/pure" @end @end +@if android: + cc = clang + gcc.options.linker = "-landroid-glob" + gcc.cpp.options.linker = "-landroid-glob" + clang.options.linker = "-landroid-glob" + clang.cpp.options.linker = "-landroid-glob" + tcc.options.linker = "-landroid-glob" + define:"useShPath:/system/bin/sh" +@end + # Configuration for the Intel C/C++ compiler: @if windows: icl.options.speed = "/Ox /arch:SSE2" |