debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sat, 16 Jul 2022 10:57:00 +0000 (11:57 +0100)
committerRene Engelhard <rene@debian.org>
Sat, 16 Jul 2022 10:57:00 +0000 (11:57 +0100)
Gbp-Pq: Name debian-debug.diff

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

index 5584fc4477b05154d6f625cf181136b328a4ac6c..dae0acb45413fbf0e010f129974a2550e7cc98f6 100644 (file)
@@ -208,6 +208,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_WASM_STRIP=@ENABLE_WASM_STRIP@
index 81cec820172d8699cafcadca414623173b1831d8..42e4c5e8162719c1095d887b6e4d50f5e342e819 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index 589c9eedc82398daa08dc8de902a9b3ea2539f5a..123d44c0c70c21175f38a32fe9be72c867d7e764 100644 (file)
@@ -227,6 +227,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