Make PR extccomp changes
This commit is contained in:
parent
3561f83e33
commit
25ae23a84b
1 changed files with 2 additions and 3 deletions
|
|
@ -584,7 +584,7 @@ proc getCompileCFileCmd*(conf: ConfigRef; cfile: Cfile): string =
|
||||||
|
|
||||||
# D files are required by nintendo switch libs for
|
# D files are required by nintendo switch libs for
|
||||||
# compilation. They are basically a list of all includes.
|
# compilation. They are basically a list of all includes.
|
||||||
let dfile = objfile.replace(".o", ".d").quoteShell()
|
let dfile = objfile.changeFileExt(".d").quoteShell()
|
||||||
|
|
||||||
objfile = quoteShell(objfile)
|
objfile = quoteShell(objfile)
|
||||||
cf = quoteShell(cf)
|
cf = quoteShell(cf)
|
||||||
|
|
@ -694,8 +694,7 @@ proc getLinkCmd(conf: ConfigRef; projectfile, objfiles: string): string =
|
||||||
|
|
||||||
# Map files are required by Nintendo Switch compilation. They are a list
|
# Map files are required by Nintendo Switch compilation. They are a list
|
||||||
# of all function calls in the library and where they come from.
|
# of all function calls in the library and where they come from.
|
||||||
var mapfile = getNimcacheDir(conf) / splitFile(projectFile).name & ".map"
|
let mapfile = quoteShell(getNimcacheDir(conf) / splitFile(projectFile).name & ".map")
|
||||||
mapfile = quoteShell(mapfile)
|
|
||||||
|
|
||||||
let linkOptions = getLinkOptions(conf) & " " &
|
let linkOptions = getLinkOptions(conf) & " " &
|
||||||
getConfigVar(conf, conf.cCompiler, ".options.linker")
|
getConfigVar(conf, conf.cCompiler, ".options.linker")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue