debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Wed, 18 Aug 2021 06:56:00 +0000 (07:56 +0100)
committerRene Engelhard <rene@debian.org>
Wed, 18 Aug 2021 06:56:00 +0000 (07:56 +0100)
Gbp-Pq: Name debian-debug.diff

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

index 9b07bd5a24f9e271664cc1193ed6a6a36edd7428..8280816cab93ca1f0cb5f7a8e6a6f032b032f5c6 100644 (file)
@@ -203,6 +203,7 @@ export ENABLE_SDREMOTE_BLUETOOTH=@ENABLE_SDREMOTE_BLUETOOTH@
 export ENABLE_SILENT_MSI=@ENABLE_SILENT_MSI@
 export ENABLE_SKIA=@ENABLE_SKIA@
 export ENABLE_SKIA_DEBUG=@ENABLE_SKIA_DEBUG@
+export enable_symbols=@enable_symbols@
 export ENABLE_SYMBOLS_FOR=@ENABLE_SYMBOLS_FOR@
 export ENABLE_VALGRIND=@ENABLE_VALGRIND@
 export ENABLE_VLC=@ENABLE_VLC@
index c8870f5137ac9c73ffe4cfa4cd18db56f690cf13..ecb4ce41d4fe5ec62ad8ef7eed097cb6c127b65e 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index c369235275bcb197275fcc536f2cf09eb203adb5..05458d92e5f84b5a3c800b23b6debf9d67656caa 100644 (file)
@@ -210,6 +210,8 @@ gb_COMPILERDEBUGOPTFLAGS := -Og
 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