[tbb-commits] [tor-browser/tor-browser-60.2.1esr-8.5-1] Bug 27865: Fix start-up crashes on Windows
gk at torproject.org
gk at torproject.org
Mon Oct 1 19:41:57 UTC 2018
commit 06750f24d6c10d12158d2402361e3ce71d8493e1
Author: Georg Koppen <gk at torproject.org>
Date: Sun Sep 30 17:53:00 2018 +0000
Bug 27865: Fix start-up crashes on Windows
Don't bind --enable-release to MOZILLA_OFFICIAL for Windows targets as
we are currently crashing on start-up for unknown reasons if
--enable-release is set, see:
https://bugzilla.mozilla.org/show_bug.cgi?id=1470772.
---
build/moz.configure/toolchain.configure | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure
index 67007c8dcf7c..008193c6c945 100755
--- a/build/moz.configure/toolchain.configure
+++ b/build/moz.configure/toolchain.configure
@@ -1382,8 +1382,10 @@ option(env='RUSTFLAGS',
help='Rust compiler flags')
set_config('RUSTFLAGS', depends('RUSTFLAGS')(lambda flags: flags))
-
-imply_option('--enable-release', mozilla_official)
+if target.os != 'WINNT':
+ imply_option('--enable-release', mozilla_official)
+else:
+ imply_option('--enable-release', False)
imply_option('--enable-release', depends_if('MOZ_AUTOMATION')(lambda x: True))
js_option('--enable-release',
More information about the tbb-commits
mailing list