use -nologo with other MSVC build tools too
Except for non-silent linking, where it would for some strange reason also disable printing of contents of response files (=objects to be linked).
This commit is contained in:
@@ -205,6 +205,7 @@ gb_LinkTarget_NOEXCEPTIONFLAGS := \
|
|||||||
-DEXCEPTIONS_OFF \
|
-DEXCEPTIONS_OFF \
|
||||||
|
|
||||||
gb_LinkTarget_LDFLAGS := \
|
gb_LinkTarget_LDFLAGS := \
|
||||||
|
$(if $(findstring s,$(filter-out --%,$(MAKEFLAGS))),-nologo,) \
|
||||||
-MANIFEST \
|
-MANIFEST \
|
||||||
$(patsubst %,-LIBPATH:%,$(filter-out .,$(subst ;, ,$(subst \,/,$(ILIB))))) \
|
$(patsubst %,-LIBPATH:%,$(filter-out .,$(subst ;, ,$(subst \,/,$(ILIB))))) \
|
||||||
|
|
||||||
@@ -355,8 +356,8 @@ $(call gb_Helper_abbreviate_dirs,\
|
|||||||
$(if $(filter-out StaticLibrary,$(TARGETTYPE)),user32.lib) \
|
$(if $(filter-out StaticLibrary,$(TARGETTYPE)),user32.lib) \
|
||||||
$(if $(DLLTARGET),-out:$(DLLTARGET) -implib:$(1),-out:$(1)); RC=$$?; rm $${RESPONSEFILE} \
|
$(if $(DLLTARGET),-out:$(DLLTARGET) -implib:$(1),-out:$(1)); RC=$$?; rm $${RESPONSEFILE} \
|
||||||
$(if $(DLLTARGET),; if [ ! -f $(DLLTARGET) ]; then rm -f $(1) && false; fi) \
|
$(if $(DLLTARGET),; if [ ! -f $(DLLTARGET) ]; then rm -f $(1) && false; fi) \
|
||||||
$(if $(filter Library,$(TARGETTYPE)),; if [ -f $(DLLTARGET).manifest ]; then mt.exe $(MTFLAGS) -manifest $(DLLTARGET).manifest -outputresource:$(DLLTARGET)\;2; fi) \
|
$(if $(filter Library,$(TARGETTYPE)),; if [ -f $(DLLTARGET).manifest ]; then mt.exe $(MTFLAGS) -nologo -manifest $(DLLTARGET).manifest -outputresource:$(DLLTARGET)\;2; fi) \
|
||||||
$(if $(filter Executable,$(TARGETTYPE)),; if [ -f $(1).manifest ]; then mt.exe $(MTFLAGS) -manifest $(1).manifest -outputresource:$(1)\;1; fi) \
|
$(if $(filter Executable,$(TARGETTYPE)),; if [ -f $(1).manifest ]; then mt.exe $(MTFLAGS) -nologo -manifest $(1).manifest -outputresource:$(1)\;1; fi) \
|
||||||
; exit $$RC)
|
; exit $$RC)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -670,6 +671,7 @@ $(call gb_Output_announce,$(2),$(true),RES,1)
|
|||||||
$(call gb_Helper_abbreviate_dirs,\
|
$(call gb_Helper_abbreviate_dirs,\
|
||||||
mkdir -p $(dir $(1)) && \
|
mkdir -p $(dir $(1)) && \
|
||||||
$(gb_RC) \
|
$(gb_RC) \
|
||||||
|
-nologo \
|
||||||
$(DEFS) $(FLAGS) \
|
$(DEFS) $(FLAGS) \
|
||||||
$(INCLUDE) \
|
$(INCLUDE) \
|
||||||
-Fo$(1) \
|
-Fo$(1) \
|
||||||
|
Reference in New Issue
Block a user