debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Thu, 21 May 2020 11:43:43 +0000 (12:43 +0100)
committerRene Engelhard <rene@debian.org>
Thu, 21 May 2020 11:43:43 +0000 (12:43 +0100)
Gbp-Pq: Name debian-debug.diff

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

index 706ff53553d5a5a517c35d2b6c98b4aa04bf3910..9d51a9f5d1ca69301052b379ff4c3d71fefab50f 100644 (file)
@@ -183,6 +183,7 @@ export ENABLE_SCRIPTING_JAVASCRIPT=@ENABLE_SCRIPTING_JAVASCRIPT@
 export ENABLE_SDREMOTE=@ENABLE_SDREMOTE@
 export ENABLE_SDREMOTE_BLUETOOTH=@ENABLE_SDREMOTE_BLUETOOTH@
 export ENABLE_SILENT_MSI=@ENABLE_SILENT_MSI@
+export enable_symbols=@enable_symbols@
 export ENABLE_SYMBOLS_FOR=@ENABLE_SYMBOLS_FOR@
 export ENABLE_VALGRIND=@ENABLE_VALGRIND@
 export ENABLE_VLC=@ENABLE_VLC@
index 088fa93eb6f3d866f4220b97f705f0355d42f42c..16fa1e2a9b0d6b4126047df607e29179403a6b4f 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index 712a61df544f3354db37a3f87e8ce57c431bbe5f..84d26a74a3fd9d79ed9dd6b012281b7012baa1b0 100644 (file)
@@ -198,6 +198,8 @@ gb_COMPILERNOOPTFLAGS := -O0 -fstrict-aliasing -fstrict-overflow
 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