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

New commits:
commit e3251e120f40cd642d8d4f8d29f6becf68797381
Author:     Stephan Bergmann <stephan.bergm...@collabora.com>
AuthorDate: Wed Jul 16 15:43:24 2025 +0200
Commit:     Michael Stahl <michael.st...@collabora.com>
CommitDate: Fri Jul 18 14:36:10 2025 +0200

    Emscripten: Fix non-debug builds
    
    ...where there is no *.wasm.debug.wasm files for emdwp to operate on, 
following
    up on e4b24dba07c54c1957df8c42a19392bd01fc01e2 "Emscripten: Put back
    -gseparate-dwarf"
    
    Change-Id: Ia86c341e62b4591a5f90ff746e0422b380c16235
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187962
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@collabora.com>
    (cherry picked from commit e715fe206142ce92e6597652649f1fe72abe073e)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188026
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Michael Stahl <michael.st...@collabora.com>

diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index 0aab6a65d7ba..dcbf8ade3372 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -172,7 +172,7 @@ $(call gb_Helper_abbreviate_dirs,\
                 ) \
                -o $(1) \
        $(if $(SOVERSIONSCRIPT),&& ln -sf ../../program/$(notdir $(1)) 
$(ILIBTARGET)) \
-       $(if $(filter EMSCRIPTEN,$(OS)),$(if $(filter 
TRUE,$(HAVE_EXTERNAL_DWARF)),&& emdwp -e $(patsubst 
%$(gb_Executable_EXT),%.wasm.debug.wasm,$(1)) -o $(patsubst 
%$(gb_Executable_EXT),%.wasm.debug.wasm.dwp,$(1)))) \
+       $(if $(filter EMSCRIPTEN,$(OS)),$(if $(call 
gb_target_symbols_enabled,$(1)),$(if $(filter TRUE,$(HAVE_EXTERNAL_DWARF)),&& 
emdwp -e $(patsubst %$(gb_Executable_EXT),%.wasm.debug.wasm,$(1)) -o $(patsubst 
%$(gb_Executable_EXT),%.wasm.debug.wasm.dwp,$(1))))) \
        $(if $(call gb_LinkTarget__WantLock,$(2)),; RC=$$? ; rm -f 
$(gb_LinkTarget__Lock); if test $$RC -ne 0; then exit $$RC; fi))
 
 $(if $(filter Library,$(TARGETTYPE)), $(call gb_Helper_abbreviate_dirs,\

Reply via email to