debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sun, 26 Mar 2017 15:06:24 +0000 (15:06 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 26 Mar 2017 15:06:24 +0000 (15:06 +0000)
Gbp-Pq: Name debian-debug.diff

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

index 2abf4431db236c618aaeba8e987e0cceb3b9d39a..e6adff05911065b8e0c6e3f589a05a59b53d2cae 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index cb9d38d64498d88ca566d2af7a22795c90758436..528a16c3694b2e0d0cb80d22d1fb604ca0601a10 100644 (file)
@@ -179,11 +179,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