summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2024-09-30 12:52:55 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2024-10-01 11:36:48 +0200
commit0a3e1df7af87d5917e13c82b747cff27f20cb29a (patch)
tree44bb6f4dd8f23919339ceaed61f5d81d516c42d4
parent89aef7ec59390ff5bbff2c6cc0160948ab5d07bf (diff)
also set TMP in addition to TMPDIR
primarily for Windows where unittests also use Windows' GetTempPathW function that prefers TMP over TEMP over USERPROFILE over the windows directory/doesn't respect TMPDIR Unittests not using TMPDIR is annoying since bitdefender will block access on some CVE tests. While you can create "dev drives" now that also allow you to disable AV-scanning permanently on those, that of course won't help when the files are created outside the devdrive/in the default temporary directory. Using TEMPDIR allows to specify the dir in autogen.input and the user won't have to add the regular temp-dir to AV-exclusions or remember to always disable the real-time-scanning before starting a build. Change-Id: I47349e4318e8de99e45961a4989975cf4081fc07 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174267 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
-rw-r--r--config_host.mk.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config_host.mk.in b/config_host.mk.in
index fcc5a8b904a1..15b82b07ffb2 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -734,6 +734,7 @@ export TARFILE_LOCATION=@TARFILE_LOCATION@
export TESTINSTALLDIR=@TESTINSTALLDIR@
export THES_SYSTEM_DIR=@THES_SYSTEM_DIR@
export TLS=@TLS@
+export TMP=@TEMP_DIRECTORY@
export TMPDIR=@TEMP_DIRECTORY@
export TOUCH=@TOUCH@
export UCRTSDKDIR=@UCRTSDKDIR@