From 9666744312095ac43577c595c9ec62d352d65490 Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Mon, 21 Jan 2019 11:42:03 -0600 Subject: [PATCH] Bug 1520310 - Disable SANDBOX_EXPORTS for the mingw-clang build as well r=bobowen --- security/sandbox/moz.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/sandbox/moz.build b/security/sandbox/moz.build index a41b16894e24..52e896a04568 100755 --- a/security/sandbox/moz.build +++ b/security/sandbox/moz.build @@ -159,7 +159,7 @@ elif CONFIG['OS_ARCH'] == 'WINNT': for var in ('UNICODE', '_UNICODE', 'NS_NO_XPCOM', '_CRT_RAND_S', 'CHROMIUM_SANDBOX_BUILD'): DEFINES[var] = True - if CONFIG['CC_TYPE'] != 'gcc': + if CONFIG['CC_TYPE'] not in ('gcc', 'clang'): DEFINES['SANDBOX_EXPORTS'] = True LOCAL_INCLUDES += ['/security/sandbox/chromium-shim']