solenv/gbuild/platform/com_MSC_class.mk |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit dc38fcd096e7e0ab9fb97042e351e8eb073d1b16
Author:     Mike Kaganski <[email protected]>
AuthorDate: Wed Dec 24 08:56:43 2025 +0100
Commit:     Mike Kaganski <[email protected]>
CommitDate: Wed Dec 24 11:55:52 2025 +0100

    Add -nologo to linker invocation in MSVC
    
    Avoids a console noise from linker in VS2026, which shows the
    logo and then the whole output, somehow not filtered out by
    filter-creatingLibrary.awk for that version without the switch.
    
    Amazingly, the switch cannot appear before -LIB (it will give
    
      LINK : warning LNK4044: unrecognized option '/LIB'; ignored
    
    and then LNK1120 error). And it cannot appear too late in the
    command line: it would be ignored there. Sigh.
    
    Change-Id: Ifa4b0c0d55f2ba703ed8b77339729466117ee3bf
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196187
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <[email protected]>

diff --git a/solenv/gbuild/platform/com_MSC_class.mk 
b/solenv/gbuild/platform/com_MSC_class.mk
index b56629fff157..b63516175c15 100644
--- a/solenv/gbuild/platform/com_MSC_class.mk
+++ b/solenv/gbuild/platform/com_MSC_class.mk
@@ -266,6 +266,7 @@ $(call gb_Helper_abbreviate_dirs,\
        $(gb_LINK) \
                $(if $(filter Library 
CppunitTest,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \
                $(if $(filter StaticLibrary,$(TARGETTYPE)),-LIB) \
+               -nologo \
                $(if $(filter 
Executable,$(TARGETTYPE)),$(gb_Executable_TARGETTYPEFLAGS)) \
                $(if $(T_SYMBOLS),$(if $(filter Executable Library 
CppunitTest,$(TARGETTYPE)),$(call 
gb_Windows_PE_TARGETTYPEFLAGS_DEBUGINFO,$(DEFS))),) \
                $(if $(filter YES,$(TARGETGUI)), 
-SUBSYSTEM:WINDOWS$(gb_MSC_SUBSYSTEM_VERSION), 
-SUBSYSTEM:CONSOLE$(gb_MSC_SUBSYSTEM_VERSION)) \

Reply via email to