summaryrefslogtreecommitdiff
path: root/solenv/gbuild/platform/unxgcc.mk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-10-08 12:56:46 +0200
committerLuboš Luňák <l.lunak@collabora.com>2021-10-11 08:16:02 +0200
commitc53a8aef805e59bbafb1943e5be49a6529645638 (patch)
treef58ba3cd4ddaa4e3ddb9c2c9d63bad56aa64ae83 /solenv/gbuild/platform/unxgcc.mk
parentcca8c5ad553e21bd55aef93757cd31626f9beba1 (diff)
merge LD_PLUGIN use with other LTO use
It seems LD_PLUGIN predates the other --plugin usage, so make that one use LD_PLUGIN instead of using --plugin twice. Change-Id: I00133be18e576bc9a797853621a20dd7d5245344 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123257 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'solenv/gbuild/platform/unxgcc.mk')
-rw-r--r--solenv/gbuild/platform/unxgcc.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index 4f6315faec68..21ee9458224b 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -161,7 +161,6 @@ define gb_LinkTarget__command_staticlink
$(call gb_Helper_abbreviate_dirs,\
rm -f $(1) && \
$(gb_AR) $(gb_LTOPLUGINFLAGS) -rsu $(1) \
- $(if $(LD_PLUGIN),--plugin $(LD_PLUGIN)) \
$(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \
$(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \
$(foreach object,$(ASMOBJECTS),$(call gb_AsmObject_get_target,$(object))) \