diff options
-rw-r--r-- | solenv/inc/settings.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/solenv/inc/settings.mk b/solenv/inc/settings.mk index 80c6b721c5f4..e533c1434f08 100644 --- a/solenv/inc/settings.mk +++ b/solenv/inc/settings.mk @@ -52,6 +52,18 @@ MACOSX_DEPLOYMENT_TARGET:=$(MACOSX_DEPLOYMENT_TARGET_FOR_BUILD) .EXPORT: MACOSX_DEPLOYMENT_TARGET .ENDIF +# To simplify some of these .mk files we occasionally check FOO_FOR_BUILD +# variables even when not cross-compiling, so set them. (set_soenv.in doesn't +# except when CROSS_COMPILING==YES.) +.IF "$(CROSS_COMPILING)"=="" +COM_FOR_BUILD:=$(COM) +GUI_FOR_BUILD:=$(GUI) +GUIBASE_FOR_BUILD:=$(GUIBASE) +OS_FOR_BUILD:=$(OS) +CPU_FOR_BUILD:=$(CPU) +CPUNAME_FOR_BUILD:=$(CPUNAME) +.ENDIF + .INCLUDE .IGNORE : ooo_vendor.mk # --- common tool makros -------------------------------------- |