From: Debian LibreOffice Maintainers Date: Mon, 2 Sep 2019 17:17:30 +0000 (+0100) Subject: debian-debug X-Git-Tag: archive/raspbian/1%6.3.1-1+rpi1^2~37 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4b5d6a8478df527f2a5f8bbe22e3cb0e1223a0b1;p=libreoffice.git debian-debug Gbp-Pq: Name debian-debug.diff --- diff --git a/config_host.mk.in b/config_host.mk.in index 607afe3dc67..c416f3e0a3e 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -181,6 +181,7 @@ export ENABLE_SCRIPTING_JAVASCRIPT=@ENABLE_SCRIPTING_JAVASCRIPT@ export ENABLE_SDREMOTE=@ENABLE_SDREMOTE@ export ENABLE_SDREMOTE_BLUETOOTH=@ENABLE_SDREMOTE_BLUETOOTH@ export ENABLE_SILENT_MSI=@ENABLE_SILENT_MSI@ +export enable_symbols=@enable_symbols@ export ENABLE_SYMBOLS_FOR=@ENABLE_SYMBOLS_FOR@ export ENABLE_VALGRIND=@ENABLE_VALGRIND@ export ENABLE_VLC=@ENABLE_VLC@ diff --git a/configure.ac b/configure.ac index 71acb541df7..9ae9aa7d662 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 4a4688dd3a1..d3c546549d5 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -201,6 +201,8 @@ gb_COMPILERNOOPTFLAGS := -O0 -fstrict-aliasing -fstrict-overflow 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