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,6 +95,10 @@ compiler llvmGcc:
|
|||
result.name = "llvm_gcc"
|
||||
result.compilerExe = "llvm-gcc"
|
||||
result.cppCompiler = "llvm-g++"
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue