debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Tue, 25 Jul 2017 20:30:57 +0000 (21:30 +0100)
committerRene Engelhard <rene@debian.org>
Tue, 25 Jul 2017 20:30:57 +0000 (21:30 +0100)
Gbp-Pq: Name debian-debug.diff

configure.ac
solenv/gbuild/platform/com_GCC_defs.mk

index 11a7d7edbdac719595b11064bea7f9d5962ac07e..a53e325a3be17854754c9d97208d3c32b29727c1 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index 6b697fc9461c476d559cf46b9f88e5abd0ce4184..98666902f5794aef0054afe8b96f518a06c83a31 100644 (file)
@@ -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