mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-18 23:11:36 +00:00
android target: use clang
This commit is contained in:
@@ -90,14 +90,16 @@ path="$lib/pure"
|
||||
@end
|
||||
@end
|
||||
|
||||
@if android and termux:
|
||||
@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"
|
||||
@if termux:
|
||||
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
|
||||
@end
|
||||
|
||||
# Configuration for the Intel C/C++ compiler:
|
||||
|
||||
Reference in New Issue
Block a user