From: Debian LibreOffice Maintainers Date: Thu, 1 Sep 2022 04:24:20 +0000 (+0100) Subject: debian-debug X-Git-Tag: archive/raspbian/1%7.4.1_rc1-3+rpi1^2~43 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ce3b041542d37defea1bacaf9194dacaaf6a8e76;p=libreoffice.git debian-debug Gbp-Pq: Name debian-debug.diff --- diff --git a/config_host.mk.in b/config_host.mk.in index 50015b4e4d1..09a98ed5946 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -213,6 +213,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_EXCEPTIONS=@ENABLE_WASM_EXCEPTIONS@ diff --git a/configure.ac b/configure.ac index 6357f9c797e..96b443f0015 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 004945a32d3..48a5506ee4d 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -231,6 +231,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