From e9301742254b85f4c6fbfd9378b365c76f5ff367 Mon Sep 17 00:00:00 2001 From: Jan-Marek Glogowski Date: Sat, 22 May 2021 02:41:58 +0200 Subject: 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 --- solenv/gbuild/platform/unxgcc.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'solenv/gbuild/platform/unxgcc.mk') 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 -- cgit