mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-22 00:41:28 +00:00
Nim.cfg: Arch option dependent on target platform
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user