OS X has no llvm-ar tool; use ar instead
This commit is contained in:
parent
1bbab827c4
commit
0e67fc7450
1 changed files with 5 additions and 1 deletions
|
|
@ -95,7 +95,11 @@ compiler llvmGcc:
|
||||||
result.name = "llvm_gcc"
|
result.name = "llvm_gcc"
|
||||||
result.compilerExe = "llvm-gcc"
|
result.compilerExe = "llvm-gcc"
|
||||||
result.cppCompiler = "llvm-g++"
|
result.cppCompiler = "llvm-g++"
|
||||||
result.buildLib = "llvm-ar rcs $libfile $objfiles"
|
when defined(macosx):
|
||||||
|
# OS X has no 'llvm-ar' tool:
|
||||||
|
result.buildLib = "ar rcs $libfile $objfiles"
|
||||||
|
else:
|
||||||
|
result.buildLib = "llvm-ar rcs $libfile $objfiles"
|
||||||
|
|
||||||
# Clang (LLVM) C/C++ Compiler
|
# Clang (LLVM) C/C++ Compiler
|
||||||
compiler clang:
|
compiler clang:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue