debian-debug
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Thu, 12 Dec 2019 21:52:05 +0000 (21:52 +0000)
committerRene Engelhard <rene@debian.org>
Thu, 12 Dec 2019 21:52:05 +0000 (21:52 +0000)
Gbp-Pq: Name debian-debug.diff

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

index 8c76c3e1f4e4dcf26db495d3a6cc4a2e0d750d06..934cefbdc11f5a37071c4a92da4261b843df2503 100644 (file)
@@ -182,6 +182,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 79def31001a387f31431390cb67220affaa824c4..93e484e447206a77a7870f15808c9eaf94a5aaba 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index 4a4688dd3a1f586c4634388f75b1ab6fd38a4489..d3c546549d574992dcc5f83d74a73e08b89b1a84 100644 (file)
@@ -201,6 +201,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