mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 1413728: Windows DMD builds don't need special LDFLAGS behavior. r=ted
--HG-- extra : rebase_source : 338596d5c0e716e990ab669151fac2a9b43953eb
This commit is contained in:
parent
7b58cfed95
commit
842bd5aed8
@ -417,13 +417,6 @@ class LinkFlags(BaseCompileFlags):
|
||||
if self._context.config.substs.get('MOZ_DEBUG_SYMBOLS'):
|
||||
flags.append('-DEBUG')
|
||||
|
||||
|
||||
if self._context.config.substs.get('MOZ_DMD'):
|
||||
# On Windows Opt DMD builds we actually override everything
|
||||
# from OS_LDFLAGS. Bug 1413728 is on file to figure out whether
|
||||
# this is necessary.
|
||||
flags = ['-DEBUG']
|
||||
|
||||
if self._context.config.substs.get('MOZ_OPTIMIZE'):
|
||||
flags.append('-OPT:REF,ICF')
|
||||
|
||||
|
@ -284,7 +284,6 @@ class TestEmitterBasic(unittest.TestCase):
|
||||
'MOZ_DEBUG_SYMBOLS': '1',
|
||||
'MOZ_OPTIMIZE': '1',
|
||||
'MOZ_OPTIMIZE_FLAGS': [],
|
||||
'OS_LDFLAGS': ['-Wl,-U_foo'],
|
||||
})
|
||||
sources, ldflags, lib, compile_flags = self.read_topsrcdir(reader)
|
||||
self.assertIsInstance(ldflags, ComputedFlags)
|
||||
|
Loading…
Reference in New Issue
Block a user