summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-30 15:20:40 +0200
committerMichael Stahl <mstahl@redhat.com>2016-02-22 17:21:00 +0100
commit1f41ea569a907b263a9b2030a00095ace075c232 (patch)
treef432175e52f538355f426abddf4d669b11f99bdf /solenv
parent2fe55445209695accbffc2fe75ee35ade86a8256 (diff)
move disabling of LNK4217
since it's Visual Studio specific, not Windows-specific Change-Id: I740b392f1aa9ff9c534b0e2fe021de7f93495e4c (cherry picked from commit 686611019fee67e130452ad0b4abe50647d948fb) Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_MSC_defs.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk
index 478726a055d3..6ff38809c064 100644
--- a/solenv/gbuild/platform/com_MSC_defs.mk
+++ b/solenv/gbuild/platform/com_MSC_defs.mk
@@ -262,6 +262,12 @@ gb_LinkTarget_LDFLAGS := \
$(if $(findstring s,$(filter-out --%,$(MAKEFLAGS))),-nologo,) \
$(patsubst %,-LIBPATH:%,$(filter-out .,$(subst ;, ,$(subst \,/,$(ILIB))))) \
+# Prevent warning spamming
+# Happens because of the way we link our unit tests with our libraries.
+gb_LinkTarget_LDFLAGS += \
+ /ignore:4217
+
+
gb_DEBUGINFO_FLAGS := -Zi
ifeq ($(VCVER),120)