basebmp/Library_basebmp.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+)
New commits: commit 5e4a7a95027d979b3bdd729d7ebe950da1129b2b Author: David Ostrovsky <da...@ostrovsky.org> Date: Mon Jan 12 23:19:59 2015 +0100 Fix number of sections exceeded object file format limit Change-Id: If81ebef14696c856374967e984138fbd25218a8c Reviewed-on: https://gerrit.libreoffice.org/13879 Reviewed-by: Michael Stahl <mst...@redhat.com> Tested-by: Michael Stahl <mst...@redhat.com> diff --git a/basebmp/Library_basebmp.mk b/basebmp/Library_basebmp.mk index 26d8f2a..cd8a753 100644 --- a/basebmp/Library_basebmp.mk +++ b/basebmp/Library_basebmp.mk @@ -26,6 +26,19 @@ $(eval $(call gb_Library_add_defs,basebmp,\ -DBASEBMP_DLLIMPLEMENTATION \ )) +# TODO(davido): This is failing only in release mode with: +# +# Compilation of bitmapdevice.cxx is failing in release mode: +# +# Fatal Error C1128: number of sections exceeded object file +# format limit : compile with /bigobj +# +ifeq ($(CPUNAME),X86_64) +$(eval $(call gb_Library_add_cxxflags,basebmp, \ + -bigobj \ +)) +endif + $(eval $(call gb_Library_add_exception_objects,basebmp,\ basebmp/source/bitmapdevice \ basebmp/source/debug \ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits