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

New commits:
commit e715fe206142ce92e6597652649f1fe72abe073e
Author:     Stephan Bergmann <stephan.bergm...@collabora.com>
AuthorDate: Wed Jul 16 15:43:24 2025 +0200
Commit:     Stephan Bergmann <stephan.bergm...@collabora.com>
CommitDate: Thu Jul 17 07:44:43 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>

diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index 1c22db269d34..bb90b6527fce 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