From: Debian LibreOffice Maintainers Date: Tue, 25 Jul 2017 20:30:57 +0000 (+0100) Subject: debian-debug X-Git-Tag: archive/raspbian/1%5.4.0-1+rpi1~2^2~30 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ab0c6dcade57f9e7f301848cb8b78e4e722b1b4c;p=libreoffice.git debian-debug Gbp-Pq: Name debian-debug.diff --- diff --git a/configure.ac b/configure.ac index 11a7d7edbda..a53e325a3be 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 6b697fc9461..98666902f57 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -168,11 +168,15 @@ gb_PrecompiledHeader_EXCEPTIONFLAGS := $(gb_LinkTarget_EXCEPTIONFLAGS) gb_COMPILERNOOPTFLAGS := -O0 -fstrict-aliasing -fstrict-overflow # Clang does not know -ggdb2 or some other options +ifeq ($(ENABLE_SYMBOLS),SMALL) +gb_DEBUGINFO_FLAGS=-g1 +else ifeq ($(HAVE_GCC_GGDB2),TRUE) gb_DEBUGINFO_FLAGS=-ggdb2 else gb_DEBUGINFO_FLAGS=-g2 endif +endif ifeq ($(HAVE_GCC_FINLINE_LIMIT),TRUE) FINLINE_LIMIT0=-finline-limit=0