debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Thu, 1 Sep 2022 04:24:20 +0000 (05:24 +0100)
committerRene Engelhard <rene@debian.org>
Thu, 1 Sep 2022 04:24:20 +0000 (05:24 +0100)
Gbp-Pq: Name debian-debug.diff

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

index 50015b4e4d16f670754a8a4a07a51f2c9114b5d7..09a98ed594615ef2aa37070726a41682ef470531 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 6357f9c797eec48324bcc969fb5298763dfcfb07..96b443f0015c0beabd342facf8d77af1271d5ef8 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index 004945a32d32dbf14a9668e7a0e36547420307e1..48a5506ee4dfea37bf0e8731563aea4dc2dcd10d 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