android target: use clang
This commit is contained in:
parent
6f6e6fe4eb
commit
786f9315e3
1 changed files with 9 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue