From: Debian LibreOffice Maintainers Date: Sat, 16 Jul 2022 10:57:00 +0000 (+0100) Subject: debian-debug X-Git-Tag: archive/raspbian/1%7.3.5_rc2-1+rpi1^2~41 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8b24648c24d37fe8fef191b9332bade2920a07e3;p=libreoffice.git debian-debug Gbp-Pq: Name debian-debug.diff --- diff --git a/config_host.mk.in b/config_host.mk.in index 5584fc4477b..dae0acb4541 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -208,6 +208,7 @@ export ENABLE_SDREMOTE_BLUETOOTH=@ENABLE_SDREMOTE_BLUETOOTH@ 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=@ENABLE_WASM_STRIP@ diff --git a/configure.ac b/configure.ac index 81cec820172..42e4c5e8162 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 589c9eedc82..123d44c0c70 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -227,6 +227,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