From 9ca5062588b6161561abe40e7f5b8e2cb796c8e6 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Tue, 26 Feb 2019 22:06:37 +0000 Subject: [PATCH] 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 --- memory/replace/dmd/test/moz.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memory/replace/dmd/test/moz.build b/memory/replace/dmd/test/moz.build index ea2fb7fcb91f..f68fed23eb88 100644 --- a/memory/replace/dmd/test/moz.build +++ b/memory/replace/dmd/test/moz.build @@ -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']