summaryrefslogtreecommitdiff
path: root/solenv/gbuild/platform/unxgcc.mk
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2021-05-22 02:41:58 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2021-05-29 17:30:26 +0200
commite9301742254b85f4c6fbfd9378b365c76f5ff367 (patch)
tree1be461c1d4229562eb69134ca1f7964879e25c53 /solenv/gbuild/platform/unxgcc.mk
parent8196c0a0a532dc1b8577d1aa530c8f9f47fc3e61 (diff)
gbuild: implement gb_Library_get_target_for_build
I was wondering why removing instdir stuff forced a rebuild of the cross toolset. Turned out some cross-toolset bits were wrongly depending on host build stuff. It even had FIXME... As a consequence, gb_CPPU_ENV was replaced by config_host.mk flags to provide an CPPU_ENV_FOR_BUILD and also uses the correct OS_FOR_BUILD. Change-Id: I50e8e8dca50ab1ad3164948a585a792a52e4a39a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116359 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'solenv/gbuild/platform/unxgcc.mk')
-rw-r--r--solenv/gbuild/platform/unxgcc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index 749ba8e17932..4a96547b48b8 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -188,6 +188,7 @@ gb_Library_UNOVERPRE := $(gb_Library_SYSPRE)uno_
ifeq ($(DISABLE_DYNLOADING),TRUE)
gb_Library_PLAINEXT := .a
+gb_Library_PLAINEXT_FOR_BUILD := .so
gb_Library_DLLEXT := .a
else
@@ -195,6 +196,7 @@ else
gb_Library_TARGETTYPEFLAGS := -shared -Wl,-z,noexecstack
gb_Library_UDK_MAJORVER := 3
gb_Library_PLAINEXT := .so
+gb_Library_PLAINEXT_FOR_BUILD := .so
gb_Library_DLLEXT := .so
endif