undefine C symbols in JS backend [backport:1.6] (#19437)
fix #19330; fix #19059
This commit is contained in:
parent
33bfe5b12c
commit
7b09fd70ab
3 changed files with 11 additions and 3 deletions
|
|
@ -899,8 +899,9 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
|
|||
splitSwitch(conf, arg, key, val, pass, info)
|
||||
os.putEnv(key, val)
|
||||
of "cc":
|
||||
expectArg(conf, switch, arg, pass, info)
|
||||
setCC(conf, arg, info)
|
||||
if conf.backend != backendJs: # bug #19330
|
||||
expectArg(conf, switch, arg, pass, info)
|
||||
setCC(conf, arg, info)
|
||||
of "track":
|
||||
expectArg(conf, switch, arg, pass, info)
|
||||
track(conf, arg, info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue