debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Tue, 26 Nov 2024 17:33:46 +0000 (18:33 +0100)
committerRene Engelhard <rene@debian.org>
Tue, 26 Nov 2024 17:33:46 +0000 (18:33 +0100)
Gbp-Pq: Name debian-debug.diff

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

index 62544fe38a320f821dfd0cde4367bec15afffbe6..c3528e63066fda04986773bfc0edc2583ece5d40 100644 (file)
@@ -230,6 +230,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 f9dd21aa11e13e8f3ac04bf17e6e4f13d27d408c..fa6ca15d6ac388d7e426c1a0ff5f25d350cfa720 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index 29a1942faa7b13f7ff895cae72cb2550727b04ec..41841c6bb9eab2434b4ffb16461df2001f778cb0 100644 (file)
@@ -229,6 +229,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