debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Tue, 18 Mar 2025 17:53:50 +0000 (18:53 +0100)
committerRene Engelhard <rene@debian.org>
Tue, 18 Mar 2025 17:53:50 +0000 (18:53 +0100)
Gbp-Pq: Name debian-debug.diff

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

index 57c2adf3beb7224e8e2559c35681b97f0f527672..b7ece1fc1c8f805f9ea3d6509ae4238c761dde9e 100644 (file)
@@ -213,6 +213,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_EXCEPTIONS=@ENABLE_WASM_EXCEPTIONS@
index e296ad85812909511d1b923dfe9f09c4a090c25a..a1dd782aab55b0916981c37a71708533af68f9af 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index bdf1684ebc0d7715d6b2c71bf829417028f03f11..65b1c39c2a52425090c103daacacdf01d2edb950 100644 (file)
@@ -231,6 +231,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