We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4f3fb4 commit 9cf6b88Copy full SHA for 9cf6b88
1 file changed
lib/include/update/cmake.sh
@@ -3,11 +3,11 @@
3
# prints the folder name of the cmake build directory
4
# the format is always the following:
5
#
6
-# build-[sha256sum of cmake flags]
+# build-[sha256sum of cmake flags and build env]
7
8
get_cmake_build_dir() {
9
local sum
10
- sum="$(printf '%s' "${CFG_CMAKE_FLAGS[*]}" | sha256sum | cut -d' ' -f1)"
+ sum="$(printf '%s%s' "${CFG_CMAKE_FLAGS[*]}" "$CFG_ENV_BUILD" | sha256sum | cut -d' ' -f1)"
11
printf 'build-%s' "$sum"
12
}
13
0 commit comments