debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Wed, 10 Jul 2024 17:15:44 +0000 (17:15 +0000)
committerRene Engelhard <rene@debian.org>
Wed, 10 Jul 2024 17:15:44 +0000 (17:15 +0000)
Gbp-Pq: Name debian-debug.diff

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

index b6f055e87b58ea79848007d095b910ee2b8faf97..78cc402f0c2b2d59afeb02bd5305ba60c9c638ef 100644 (file)
@@ -224,6 +224,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 5b701a51dfb18c9c992867feb3ed8b1f3b5ffe8d..d1fff45c35e6fc9e0e2371aae73ced717fa07497 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index 7ea7a16461e3c7bb2f10da85ebe9e4181ec5a74c..5ee03fd68e202e883071211a036b7194113f5dab 100644 (file)
@@ -230,6 +230,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