support for clang
This commit is contained in:
parent
368bb3b5e2
commit
220dd54acf
2 changed files with 23 additions and 2 deletions
|
|
@ -60,6 +60,7 @@ hint[LineTooLong]=off
|
|||
@if unix:
|
||||
@if not bsd:
|
||||
gcc.options.linker = "-ldl"
|
||||
clang.options.linker = "-ldl"
|
||||
tcc.options.linker = "-ldl"
|
||||
@end
|
||||
@end
|
||||
|
|
@ -96,6 +97,12 @@ llvm_gcc.options.always = "-w"
|
|||
llvm_gcc.options.speed = "-O2"
|
||||
llvm_gcc.options.size = "-Os"
|
||||
|
||||
# Configuration for the LLVM CLang compiler:
|
||||
clang.options.debug = "-g"
|
||||
clang.options.always = "-w"
|
||||
clang.options.speed = "-O3"
|
||||
clang.options.size = "-Os"
|
||||
|
||||
# Configuration for the Visual C/C++ compiler:
|
||||
vcc.options.linker = r"/F33554432" # set the stack size to 8 MB
|
||||
vcc.options.debug = "/RTC1 /ZI"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue