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

New commits:
commit 03ab46c8a189b751ed1acffd0b575fae584c1d00
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Wed Mar 20 20:59:34 2024 +0100
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Thu Mar 21 16:30:16 2024 +0100

    Use ENABLE_DEBUG as a better indicator for "debug build"
    
    ...than gb_DEBUGLEVEL as had been chosen by
    448008d64c643d5a1aa2dc5cccc479efcd709a50 "only enable windows incremental
    linking for debug builds"
    
    Change-Id: Iabd2904596b3ac2a9d1c55d074cc929572615265
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165077
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>

diff --git a/solenv/gbuild/platform/com_MSC_class.mk 
b/solenv/gbuild/platform/com_MSC_class.mk
index 3ebbbabd49f9..6c3182b54aa4 100644
--- a/solenv/gbuild/platform/com_MSC_class.mk
+++ b/solenv/gbuild/platform/com_MSC_class.mk
@@ -323,7 +323,7 @@ endef
 gb_Windows_PE_TARGETTYPEFLAGS := \
        -release \
        -opt:noref \
-       $(if $(filter 0,$(gb_DEBUGLEVEL)), -incremental:no) \
+       $(if $(ENABLE_DEBUG),, -incremental:no) \
        $(if $(filter NO,$(LIBRARY_X64)), -safeseh) \
        -nxcompat \
        -dynamicbase \

Reply via email to