only enable windows incremental linking for debug builds
not necessary for optimised builds Change-Id: I33e7ff372b8b2fd35d6d45b552aceda36aaeba95 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87054 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
committed by
Noel Grandin
parent
0623090787
commit
448008d64c
@@ -256,10 +256,12 @@ $(if $(call gb_LinkTarget__is_merged,$(1)),\
|
||||
$(call gb_LinkTarget_add_libs,$(call gb_Library_get_linktarget,merged),$(foreach lib,$(2),$(call gb_MSVCRT_subst,$(lib)).lib)))
|
||||
endef
|
||||
|
||||
# Flags common for PE executables (EXEs and DLLs)
|
||||
# Flags common for PE executables (EXEs and DLLs).
|
||||
# Enable incremental only when debugging to speed up relinking.
|
||||
gb_Windows_PE_TARGETTYPEFLAGS := \
|
||||
-release \
|
||||
-opt:noref \
|
||||
$(if $(filter 0,$(gb_DEBUGLEVEL)), -incremental:no) \
|
||||
$(if $(filter NO,$(LIBRARY_X64)), -safeseh) \
|
||||
-nxcompat \
|
||||
-dynamicbase \
|
||||
|
||||
Reference in New Issue
Block a user