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:
Mike Hommey 2019-02-26 22:06:37 +00:00
parent 1048e35c21
commit 9ca5062588

View File

@ -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']