Enable -bigobj on MSVC
commit0f5eb62300255d60d144cdf5dfe90f754cca15ed
authorMike Kaganski <mike.kaganski@collabora.com>
Mon, 31 May 2021 12:11:54 +0000 (31 14:11 +0200)
committerMike Kaganski <mike.kaganski@collabora.com>
Mon, 31 May 2021 14:50:44 +0000 (31 16:50 +0200)
tree1c0f1b6cced5da0f6a03dbffc928dd729c0bd875
parentcfca68e0f70f6b9fa54f32cc21585c073677229b
Enable -bigobj on MSVC

This fixes this error:

  C:\lo\src\core\sc\qa\unit\ucalc_copypaste.cxx : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj

According to [1], it is enabled by default in all UWP projects, which
presumably means there's no harm in enabling it (other than some
compiling overhead, which impact is unclear at the moment).

Enabling it unconditionally, it would not create a mismatch like in
7788e87ce25183c1d6f92a3b972b8dd8c88e58e3.

[1] https://docs.microsoft.com/en-us/cpp/build/reference/bigobj-increase-number-of-sections-in-dot-obj-file

Change-Id: Id176add21fec2a6084149e9ff23bdafb10b3d579
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116454
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
solenv/gbuild/platform/com_MSC_defs.mk