Bug 1547631 - Port bug 1523684: Set 32-bit build target on win32 l10n repacks. r+a=jorgk
authorRob Lemley <rob@thunderbird.net>
Sat, 04 May 2019 16:27:30 -0400
changeset 34002 7fcb16ec50b1465f4bd0e95215bb45284b5f6ade
parent 34001 006b4646c4f2e12645fcc5b6afd53da71d50da20
child 34003 8554a7176b3eef77f90f337af5f94b9e1e6ec772
push id2404
push usermozilla@jorgk.com
push dateTue, 07 May 2019 20:34:08 +0000
treeherdercomm-beta@ac7b1df1919b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1547631, 1523684, 1522354
Bug 1547631 - Port bug 1523684: Set 32-bit build target on win32 l10n repacks. r+a=jorgk L10n repacks happen on 64-bit hosts since bug 1522354. Therefore --target needs to be explicitly set to i686-pc-mingw32 on l10n builds otherwise it defaults to x86_64-pc-mingw32 which produces a 64-bit installer. The contents of the installer are 32-bit as --target is set in build/win32/mozconfig.vs2017.
mail/config/mozconfigs/win32/l10n-mozconfig
--- a/mail/config/mozconfigs/win32/l10n-mozconfig
+++ b/mail/config/mozconfigs/win32/l10n-mozconfig
@@ -1,1 +1,4 @@
 . "$topsrcdir/comm/mail/config/mozconfigs/l10n-common"
+
+# Build a 32-bit installer on win32
+ac_add_options --target=i686-pc-mingw32