mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 1530562 - Set SmokeDMD compiler flags depending on compiler type rather than target OS. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D21161 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
1048e35c21
commit
9ca5062588
@ -9,7 +9,7 @@ GeckoSimplePrograms([
|
||||
], linkage=None)
|
||||
|
||||
# See the comment at the top of SmokeDMD.cpp:RunTests().
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
if CONFIG['CXX_TYPE'] == 'clang-cl':
|
||||
CXXFLAGS += ['-Og-']
|
||||
else:
|
||||
CXXFLAGS += ['-O0']
|
||||
|
Loading…
Reference in New Issue
Block a user