Nim.cfg: Arch option dependent on target platform
This commit is contained in:
parent
04a610c55b
commit
7b1f948b72
1 changed files with 6 additions and 0 deletions
|
|
@ -188,7 +188,13 @@ vcc.linkerexe = "vccexe.exe"
|
|||
vcc.options.linker = "/nologo /DEBUG /Zi /Fd\"$projectName.pdb\" /F33554432" # set the stack size to 8 MB
|
||||
vcc.options.debug = "/Zi /Fd\"$projectName.pdb\""
|
||||
vcc.options.always = "/nologo"
|
||||
@if defined(i386):
|
||||
vcc.options.speed = "/O2 /arch:SSE2"
|
||||
@elif defined(amd64):
|
||||
vcc.options.speed = "/O2 /arch:AVX"
|
||||
@else:
|
||||
vcc.options.speed = "/O2"
|
||||
@end
|
||||
vcc.options.size = "/O1"
|
||||
|
||||
# Configuration for the Tiny C Compiler:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue