Revert "workaround compile failures in libxml, with clang-17"
[LibreOffice.git] / desktop / CustomTarget_soffice.mk
blobd56f571628fe9ea3a833403c84bc57028f42714a
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_CustomTarget_CustomTarget,desktop/soffice))
12 $(call gb_CustomTarget_get_target,desktop/soffice) : \
13 $(call gb_CustomTarget_get_workdir,desktop/soffice)/soffice.sh
15 $(call gb_CustomTarget_get_workdir,desktop/soffice)/soffice.sh : \
16 $(SRCDIR)/desktop/scripts/soffice.sh \
17 $(BUILDDIR)/config_host.mk \
18 | $(call gb_CustomTarget_get_workdir,desktop/soffice)/.dir
19 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),SED,1)
20 $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),SED)
21 ifneq ($(JITC_PROCESSOR_TYPE),)
22 sed -e "s/^#@JITC_PROCESSOR_TYPE_EXPORT@/export JITC_PROCESSOR_TYPE=$(JITC_PROCESSOR_TYPE)/" $< > $@
23 else
24 cp $< $@
25 endif
26 $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),SED)
28 # vim:set shiftwidth=4 tabstop=4 noexpandtab: