diff --git a/solenv/gbuild/platform/com_MSC_class.mk b/solenv/gbuild/platform/com_MSC_class.mk index 45bf122c14bf..c26582f56011 100644 --- a/solenv/gbuild/platform/com_MSC_class.mk +++ b/solenv/gbuild/platform/com_MSC_class.mk @@ -482,7 +482,6 @@ endif gb_WinResTarget_POSTFIX :=.res -# rc.exe does not support -nologo in 6.1.6723.1 that is in the Windows SDK 6.0A define gb_WinResTarget__command $(call gb_Output_announce,$(2),$(true),RC ,1) $(call gb_Helper_abbreviate_dirs,\ diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk index b239cec2b7f4..fc63eba7c2ce 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -190,6 +190,11 @@ ifeq ($(VCVER),100) endif +ifeq ($(shell [ $(VCVER) -ge 110 ] && echo $(true)),$(true)) +# rc.exe does not support -nologo in 6.1.6723.1 that is in the Windows SDK 6.0A +gb_RCFLAGS += -nologo +endif + # C4005: 'identifier' : macro redefinition gb_PCHWARNINGS = \