debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sun, 11 Oct 2020 20:34:17 +0000 (21:34 +0100)
committerRene Engelhard <rene@debian.org>
Sun, 11 Oct 2020 20:34:17 +0000 (21:34 +0100)
Gbp-Pq: Name debian-debug.diff

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

index 9c01727b55a0361ca1e57a6bce2b7b62c6d97ae7..3bca36d136ee8eaeaf437a8d5502a291a4b675e0 100644 (file)
@@ -208,6 +208,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_VLC=@ENABLE_VLC@
index 928f168259e7a881dfa23114da6d14b84153c24e..42baec4e67e0ef576d291aa7ce4a1dd6a3b21a29 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index 1707a7481ee60b90c7d6c7a1c470e647613ffecc..ce689a8dac77b1f8baeaca0069f94da1331751cd 100644 (file)
@@ -210,6 +210,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