gbuild: Add -nologo option for rc.exe in VC2012
rc.exe in Windows SDK version higher than 6.0A accepts -nologo. And according to configure.ac:3131 VC2012 can't use 7.x, 6.0A or older. So it's a safe bet. Change-Id: I833e96adad322bb0f5eed36c9a09ece88111b5f7 Reviewed-on: https://gerrit.libreoffice.org/4127 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
This commit is contained in:
@@ -482,7 +482,6 @@ endif
|
|||||||
|
|
||||||
gb_WinResTarget_POSTFIX :=.res
|
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
|
define gb_WinResTarget__command
|
||||||
$(call gb_Output_announce,$(2),$(true),RC ,1)
|
$(call gb_Output_announce,$(2),$(true),RC ,1)
|
||||||
$(call gb_Helper_abbreviate_dirs,\
|
$(call gb_Helper_abbreviate_dirs,\
|
||||||
|
@@ -190,6 +190,11 @@ ifeq ($(VCVER),100)
|
|||||||
|
|
||||||
endif
|
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
|
# C4005: 'identifier' : macro redefinition
|
||||||
|
|
||||||
gb_PCHWARNINGS = \
|
gb_PCHWARNINGS = \
|
||||||
|
Reference in New Issue
Block a user