summary refs log tree commit diff stats
path: root/compiler/options.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2019-12-21 20:59:08 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-12-21 20:59:08 +0100
commitb08116668531f8959de9d54009956f9ed21cbab9 (patch)
treee8af5aa7a01dcdb40dfd3f213081d138db34d92f /compiler/options.nim
parente1d79d40f2ef41e26b6c529f52023a59acaf0d0e (diff)
downloadNim-b08116668531f8959de9d54009956f9ed21cbab9.tar.gz
fixes #12735 on osx, call dsymutil for debug builds (#12931)
* fix #12735 osx: dsymutil needs to be called for debug builds
* also write dsymutil command to extraCmds in json build file

Diffstat (limited to 'compiler/options.nim')
-rw-r--r--compiler/options.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/options.nim b/compiler/options.nim
index ed3ee030d..443b2a1b6 100644
--- a/compiler/options.nim
+++ b/compiler/options.nim
@@ -249,6 +249,7 @@ type
     command*: string # the main command (e.g. cc, check, scan, etc)
     commandArgs*: seq[string] # any arguments after the main command
     commandLine*: string
+    extraCmds*: seq[string] # for writeJsonBuildInstructions
     keepComments*: bool # whether the parser needs to keep comments
     implicitImports*: seq[string] # modules that are to be implicitly imported
     implicitIncludes*: seq[string] # modules that are to be implicitly included