diff options
author | fanquake <fanquake@gmail.com> | 2022-06-17 09:33:45 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-06-17 14:44:49 +0100 |
commit | f862f4a74ec6d95a40bb86c5e6597739b23db932 (patch) | |
tree | 0715f85873808b7e9ccc3e1bdafc977a98b131ac /depends/gen_id | |
parent | 874529665c1c326fc86fc0d0d6c3512fab087ab8 (diff) | |
download | bitcoin-f862f4a74ec6d95a40bb86c5e6597739b23db932.tar.xz |
build: add *_STANDARD vars to depends gen_id
Followup to #22380. We need to have these in the id so that we rebuild
if we change / unset a *_STANDARD.
Diffstat (limited to 'depends/gen_id')
-rwxr-xr-x | depends/gen_id | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/depends/gen_id b/depends/gen_id index a0cd586461..7caf8d764d 100755 --- a/depends/gen_id +++ b/depends/gen_id @@ -1,7 +1,8 @@ #!/usr/bin/env bash -# Usage: env [ CC=... ] [ CXX=... ] [ AR=... ] [ RANLIB=... ] [ STRIP=... ] \ -# [ DEBUG=... ] [ LTO=... ] ./build-id [ID_SALT]... +# Usage: env [ CC=... ] [ C_STANDARD=...] [ CXX=... ] [CXX_STANDARD=...] \ +# [ AR=... ] [ RANLIB=... ] [ STRIP=... ] [ DEBUG=... ] \ +# [ LTO=... ] ./build-id [ID_SALT]... # # Prints to stdout a SHA256 hash representing the current toolset, used by # depends/Makefile as a build id for caching purposes (detecting when the @@ -39,12 +40,14 @@ bash -c "${CC} -v" bash -c "${CC} -v -E -xc -o /dev/null - < /dev/null" bash -c "${CC} -v -E -xobjective-c -o /dev/null - < /dev/null" + echo "C_STANDARD=${C_STANDARD}" echo "END CC" echo "BEGIN CXX" bash -c "${CXX} -v" bash -c "${CXX} -v -E -xc++ -o /dev/null - < /dev/null" bash -c "${CXX} -v -E -xobjective-c++ -o /dev/null - < /dev/null" + echo "CXX_STANDARD=${CXX_STANDARD}" echo "END CXX" echo "BEGIN AR" |