summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2024-05-27 12:16:06 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2024-05-28 14:10:29 +0200
commit9b072ee21a31127b008323749fe343f406da0fe4 (patch)
treec2294a6af40e704e69681ca4e32e8c6a0b74b3ff /odk
parent9ec0fa7ec3a62586f95e38f070b0d95e85fce6c3 (diff)
odk: don't run compiler -dumpversion for eaach include of settings.mk
VAR=$(shell … ) will run the shell command each time the line is parsed, i.e. for each include of the settings.mk from the examples. Use simple/one-time expansion using := avoids that. Change-Id: I46e6c486fbbe03bba37436d4ca98ddd0b6562ad3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168091 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'odk')
-rw-r--r--odk/settings/settings.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/settings/settings.mk b/odk/settings/settings.mk
index 13289c96db6e..a479dd702fae 100644
--- a/odk/settings/settings.mk
+++ b/odk/settings/settings.mk
@@ -319,7 +319,7 @@ SHAREDLIB_EXT=so
SHAREDLIB_PRE=lib
SHAREDLIB_OUT=$(OUT_LIB)
-GCC_VERSION=$(shell $(CC) -dumpversion)
+GCC_VERSION:=$(shell $(CC) -dumpversion)
COMID=gcc3
CPPU_ENV=gcc3
@@ -530,7 +530,7 @@ SHAREDLIB_EXT=so
SHAREDLIB_PRE=lib
SHAREDLIB_OUT=$(OUT_LIB)
-GCC_VERSION=$(shell $(CC) -dumpversion)
+GCC_VERSION:=$(shell $(CC) -dumpversion)
COMID=gcc3
CPPU_ENV=gcc3