From: Debian LibreOffice Maintainers Date: Wed, 25 Mar 2026 20:39:29 +0000 (+0100) Subject: debian-debug X-Git-Tag: archive/raspbian/4%26.2.2.2-3+rpi1^2~48 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=23a5a7775ff9daed09d3dcbb4bd2c1a1ed9dd639;p=libreoffice.git debian-debug Gbp-Pq: Name debian-debug.diff --- diff --git a/config_host.mk.in b/config_host.mk.in index 4d462dde48b..1af639d0006 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -251,6 +251,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_ACCESSIBILITY@ diff --git a/configure.ac b/configure.ac index 3316f3e3643..8e96ff8375a 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 31900e8b955..effdea5f9ce 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -226,6 +226,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