Bug 1651901 - Disable optimizations in dom/bindings/test. r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D83033
This commit is contained in:
Mike Hommey 2020-07-10 15:26:12 +00:00
Родитель 71bfce5442
Коммит 0064d72b3e
1 изменённых файлов: 7 добавлений и 0 удалений

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

@ -64,3 +64,10 @@ if CONFIG['MOZ_DEBUG']:
]
XPIDL_MODULE = 'dom_bindings_test'
# Because we don't actually link this code anywhere, we don't care about
# their optimization level, so don't waste time on optimization.
if CONFIG['CXX_TYPE'] == 'clang-cl':
CXXFLAGS += ['-Od']
else:
CXXFLAGS += ['-O0']