debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Wed, 23 Apr 2025 17:20:04 +0000 (19:20 +0200)
committerRene Engelhard <rene@debian.org>
Wed, 23 Apr 2025 17:20:04 +0000 (19:20 +0200)
Gbp-Pq: Name debian-debug.diff

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

index 1d78544e393f47a49fe1cee4dc2234530a17d13c..10389b05df914a38f9c123ad199b08129373b893 100644 (file)
@@ -243,6 +243,7 @@ export ENABLE_CUSTOMTARGET_COMPONENTS=@ENABLE_CUSTOMTARGET_COMPONENTS@
 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_ACCESSIBILITY=@ENABLE_WASM_STRIP_CALC@
index 23c0a53a9ede7de5938ba34a8a72f1d773c78994..49e75d514599ff46b46f864a561a1c413b27a536 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index 528e45630b258b709e8bdf42316e27df370d2fd0..57e95cf9aad2eff1acebf5c75f86d71996c3ddbf 100644 (file)
@@ -222,6 +222,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