From: Debian LibreOffice Maintainers Date: Wed, 13 Aug 2025 20:27:02 +0000 (+0200) Subject: debian-debug X-Git-Tag: archive/raspbian/4%25.2.3-2+rpi1+deb13u2^2~49 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3bc926314c0ca6c3c9f35f57c0815f5fd5fc65e1;p=libreoffice.git debian-debug Gbp-Pq: Name debian-debug.diff --- diff --git a/config_host.mk.in b/config_host.mk.in index 1d78544e393..10389b05df9 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -243,6 +243,7 @@ export ENABLE_CUSTOMTARGET_COMPONENTS=@ENABLE_CUSTOMTARGET_COMPONENTS@ export ENABLE_SILENT_MSI=@ENABLE_SILENT_MSI@ export ENABLE_SKIA=@ENABLE_SKIA@ export ENABLE_SKIA_DEBUG=@ENABLE_SKIA_DEBUG@ +export enable_symbols=@enable_symbols@ export ENABLE_SYMBOLS_FOR=@ENABLE_SYMBOLS_FOR@ export ENABLE_VALGRIND=@ENABLE_VALGRIND@ export ENABLE_WASM_STRIP_ACCESSIBILITY=@ENABLE_WASM_STRIP_CALC@ diff --git a/configure.ac b/configure.ac index 64952b7f8ea..619c43b44f0 100644 Binary files a/configure.ac and b/configure.ac differ diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 528e45630b2..57e95cf9aad 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -222,6 +222,8 @@ gb_COMPILERDEBUGOPTFLAGS := -Og ifeq ($(OS),ANDROID) gb_DEBUGINFO_FLAGS=-glldb # Clang does not know -ggdb2 or some other options +else ifeq ($(enable_symbols),SMALL) +gb_DEBUGINFO_FLAGS=-g1 else ifeq ($(HAVE_GCC_GGDB2),TRUE) gb_DEBUGINFO_FLAGS=-ggdb2 else