[Libreoffice-commits] core.git: solenv/gbuild

Noel Grandin noel at peralex.com
Mon Nov 30 05:10:50 PST 2015


 solenv/gbuild/platform/windows.mk |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 883321e141906f5dad47f0021a2fa8cadc3b9a01
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Nov 30 13:37:15 2015 +0200

    remove LNK4217 warning spam from Windows build
    
    it just makes the build error logs harder to read.
    it's not like we are ever going to fix it.
    
    Change-Id: I26be4deb7b72d142fcee62ea3eee2dd0bd607716
    Reviewed-on: https://gerrit.libreoffice.org/20284
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/solenv/gbuild/platform/windows.mk b/solenv/gbuild/platform/windows.mk
index a2e621d..42cb134 100644
--- a/solenv/gbuild/platform/windows.mk
+++ b/solenv/gbuild/platform/windows.mk
@@ -50,4 +50,9 @@ gb_Executable_LAYER := \
 # empty to avoid --warn-undefined-functions
 gb_Library__set_soversion_script_platform =
 
+# Prevent warning spamming
+# Happens because of the way we link our unit tests with our libraries.
+gb_LinkTarget_LDFLAGS += \
+	/ignore:4217
+
 # vim:set noexpandtab:


More information about the Libreoffice-commits mailing list