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
Родитель 1048e35c21
Коммит 9ca5062588
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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