mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-05 11:24:08 +00:00
This reverts commit e4f7656772.
This commit is contained in:
@@ -411,7 +411,8 @@ proc getConfigVar(conf: ConfigRef; c: TSystemCC, suffix: string): string =
|
||||
else:
|
||||
suffix
|
||||
|
||||
if optCompileOnly notin conf.globalOptions:
|
||||
if (conf.target.hostOS != conf.target.targetOS or conf.target.hostCPU != conf.target.targetCPU) and
|
||||
optCompileOnly notin conf.globalOptions:
|
||||
let fullCCname = platform.CPU[conf.target.targetCPU].name & '.' &
|
||||
platform.OS[conf.target.targetOS].name & '.' &
|
||||
CC[c].name & fullSuffix
|
||||
|
||||
Reference in New Issue
Block a user