Only split DWARF data out for non-explicit-debug builds (bug 5683, r=dvander).
This commit is contained in:
parent
00e44ad3c3
commit
a2da4cc868
@ -12,6 +12,9 @@ class ExtractDebugInfoCommand(Command):
|
|||||||
self.outfile = outfile
|
self.outfile = outfile
|
||||||
|
|
||||||
def run(self, runner, job):
|
def run(self, runner, job):
|
||||||
|
if AMBuild.cache['debug']:
|
||||||
|
return
|
||||||
|
|
||||||
if not self.binary.NeedsRelink(self.outfile):
|
if not self.binary.NeedsRelink(self.outfile):
|
||||||
return
|
return
|
||||||
|
|
||||||
@ -74,6 +77,8 @@ class SM:
|
|||||||
|
|
||||||
self.hasMySql = AMBuild.options.hasMySql
|
self.hasMySql = AMBuild.options.hasMySql
|
||||||
AMBuild.cache.CacheVariable('hasMySql', self.hasMySql)
|
AMBuild.cache.CacheVariable('hasMySql', self.hasMySql)
|
||||||
|
|
||||||
|
AMBuild.cache.CacheVariable('debug', AMBuild.options.debug)
|
||||||
|
|
||||||
#Environment variable paths to external headers
|
#Environment variable paths to external headers
|
||||||
envvars = { 'MMSOURCE19': 'mmsource-1.9', 'MYSQL5': 'mysql-5.0' }
|
envvars = { 'MMSOURCE19': 'mmsource-1.9', 'MYSQL5': 'mysql-5.0' }
|
||||||
|
Loading…
Reference in New Issue
Block a user