[Libreoffice-commits] core.git: compilerplugins/Makefile-clang.mk
Luboš Luňák (via logerrit)
logerrit at kemper.freedesktop.org
Mon May 20 11:53:31 UTC 2019
compilerplugins/Makefile-clang.mk | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 092da974f180e6f166c2e5662ce11db72351700b
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Mon May 20 12:13:24 2019 +0200
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Mon May 20 13:52:41 2019 +0200
use -gsplit-dwarf also for compilerplugins if possible
~350MiB easily saved.
Change-Id: I9a91894cf4df7bc06d472795e564148fe8342995
Reviewed-on: https://gerrit.libreoffice.org/72588
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak at collabora.com>
diff --git a/compilerplugins/Makefile-clang.mk b/compilerplugins/Makefile-clang.mk
index c6d57320c0ee..3b19d1eafdd2 100644
--- a/compilerplugins/Makefile-clang.mk
+++ b/compilerplugins/Makefile-clang.mk
@@ -73,6 +73,10 @@ ifdef LO_CLANG_SHARED_PLUGINS
CLANGCXXFLAGS+=-DLO_CLANG_SHARED_PLUGINS
endif
+ifeq ($(HAVE_GCC_SPLIT_DWARF),TRUE)
+CLANGCXXFLAGS+=-gsplit-dwarf
+endif
+
QUIET=$(if $(verbose),,@)
ifneq ($(ENABLE_WERROR),)
More information about the Libreoffice-commits
mailing list