summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-30 13:37:15 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-30 13:10:16 +0000
commit883321e141906f5dad47f0021a2fa8cadc3b9a01 (patch)
tree880196aa697f9de86362221aa3de45ea3cc601a0 /solenv
parent343e405f18a51abd6d386072ad33978fa83b8b31 (diff)
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@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/windows.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/windows.mk b/solenv/gbuild/platform/windows.mk
index a2e621d67215..42cb134028b3 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: