debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Mon, 17 Jan 2022 02:12:08 +0000 (02:12 +0000)
committerRaspbian forward porter <root@raspbian.org>
Mon, 17 Jan 2022 02:12:08 +0000 (02:12 +0000)
Gbp-Pq: Name debian-debug.diff

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

index bb7e1b35278f8e68aa46571cb85b576a2afe7426..1ea8292164c056b9c3c193af1978cb614d2984ab 100644 (file)
@@ -203,6 +203,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 cf29efb499e031cd6ba93d047f56d69ca5cff907..19d73aa7f402a21c6c302ce07c7952b7e4cac5ca 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index 09ca90a91f695849f457532a774abf848480c46c..964c883f966bc941776c5499f461de4be7253289 100644 (file)
@@ -212,6 +212,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