[Libreoffice-commits] core.git: Makefile.in
Jan-Marek Glogowski (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 25 18:05:34 UTC 2021
Makefile.in | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
New commits:
commit 70e4c65058a76131235cd04b64231c403cbe74f3
Author: Jan-Marek Glogowski <glogow at fbihome.de>
AuthorDate: Thu May 20 15:51:21 2021 +0200
Commit: Jan-Marek Glogowski <glogow at fbihome.de>
CommitDate: Tue May 25 20:04:54 2021 +0200
Install GDB pretty printers into cross-toolset
Change-Id: Id42dd694514e104d03c649a19788b5c192ec35a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116116
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow at fbihome.de>
diff --git a/Makefile.in b/Makefile.in
index 8e56cd47b28b..b75d07bd137b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -280,9 +280,8 @@ bootstrap: check-if-root compilerplugins
# Note: this will pipe through all gbuild targets to ... gbuild
# with some translations like "check"->"unitcheck subsequentcheck uicheck" for historic reasons
#
-build: bootstrap fetch $(if $(CROSS_COMPILING),cross-toolset) \
- $(if $(filter check,$(MAKECMDGOALS)),$(if $(COMPILER_PLUGINS),$(if $(LODE_HOME),clang-format-check))) \
- install-gdb-printers
+build: bootstrap fetch $(if $(CROSS_COMPILING),cross-toolset,install-gdb-printers) \
+ $(if $(filter check,$(MAKECMDGOALS)),$(if $(COMPILER_PLUGINS),$(if $(LODE_HOME),clang-format-check)))
$(MAKE) $(PARALLELISM_OPTION) $(IWYU_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $(build_goal)
ifeq ($(OS),iOS)
$(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) ios
@@ -293,7 +292,7 @@ build-non-l10n-only build-l10n-only build-nocheck check debugrun translations pa
help showmodules gbuildtojson:
$(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $@
-cross-toolset: bootstrap fetch
+cross-toolset: bootstrap fetch install-gdb-printers
# fetch again in case there are externals only needed on build platform
ifneq ($(OS),iOS)
$(MAKE) gb_Side=build $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(BUILDDIR)/Makefile fetch
@@ -302,6 +301,10 @@ endif
install-gdb-printers:
ifneq ($(filter-out WNT MACOSX iOS,$(OS)),)
+ifneq ($(INSTDIR_FOR_BUILD),$(INSTDIR))
+ mkdir -p $(INSTDIR_FOR_BUILD)
+ $(SRCDIR)/solenv/bin/install-gdb-printers -a $(INSTDIR_FOR_BUILD) -c
+endif
mkdir -p $(INSTDIR)
$(SRCDIR)/solenv/bin/install-gdb-printers -a $(INSTDIR) -c
endif
More information about the Libreoffice-commits
mailing list