From fe61f583e683563fa4808e9951038ec839406d45 Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Thu, 11 Apr 2013 00:34:52 +0100 Subject: [PATCH] Only split DWARF data out for non-explicit-debug builds (bug 5683, r=dvander). --- AMBuildScript | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AMBuildScript b/AMBuildScript index 1187aac7..3e7c2e46 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -12,6 +12,9 @@ class ExtractDebugInfoCommand(Command): self.outfile = outfile def run(self, runner, job): + if AMBuild.cache['debug']: + return + if not self.binary.NeedsRelink(self.outfile): return @@ -77,6 +80,8 @@ class SM: self.hasMySql = AMBuild.options.hasMySql AMBuild.cache.CacheVariable('hasMySql', self.hasMySql) + + AMBuild.cache.CacheVariable('debug', AMBuild.options.debug) #Environment variable paths to external headers envvars = { 'MMSOURCE19': 'mmsource-1.9', 'MYSQL5': 'mysql-5.0' }