debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Thu, 15 Feb 2018 00:33:12 +0000 (00:33 +0000)
committerRaspbian forward porter <root@raspbian.org>
Thu, 15 Feb 2018 00:33:12 +0000 (00:33 +0000)
Gbp-Pq: Name debian-debug.diff

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

index 83d8daba57599f71a661cb897e4212fafe4777ba..f5700a53ffc4853f64683c835590255b6a6c5550 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