@ -45,6 +45,7 @@ NO_USDT ?=
NO_NATPMP ?=
NO_NATPMP ?=
MULTIPROCESS ?=
MULTIPROCESS ?=
LTO ?=
LTO ?=
NO_HARDEN ?=
FALLBACK_DOWNLOAD_PATH ?= https://bitcoincore.org/depends-sources
FALLBACK_DOWNLOAD_PATH ?= https://bitcoincore.org/depends-sources
C_STANDARD ?= c11
C_STANDARD ?= c11
@ -146,8 +147,8 @@ include packages/packages.mk
# 2. Before including packages/*.mk (excluding packages/packages.mk), since
# 2. Before including packages/*.mk (excluding packages/packages.mk), since
# they rely on the build_id variables
# they rely on the build_id variables
#
#
build_id := $( shell env CC = '$(build_CC)' C_STANDARD = '$(C_STANDARD)' CXX = '$(build_CXX)' CXX_STANDARD = '$(CXX_STANDARD)' AR = '$(build_AR)' RANLIB = '$(build_RANLIB)' STRIP = '$(build_STRIP)' SHA256SUM = '$(build_SHA256SUM)' DEBUG = '$(DEBUG)' LTO = '$(LTO)' ./gen_id '$(BUILD_ID_SALT)' 'GUIX_ENVIRONMENT=$(realpath $(GUIX_ENVIRONMENT))' )
build_id := $( shell env CC = '$(build_CC)' C_STANDARD = '$(C_STANDARD)' CXX = '$(build_CXX)' CXX_STANDARD = '$(CXX_STANDARD)' AR = '$(build_AR)' RANLIB = '$(build_RANLIB)' STRIP = '$(build_STRIP)' SHA256SUM = '$(build_SHA256SUM)' DEBUG = '$(DEBUG)' LTO = '$(LTO)' NO_HARDEN = '$(NO_HARDEN)' ./gen_id '$(BUILD_ID_SALT)' 'GUIX_ENVIRONMENT=$(realpath $(GUIX_ENVIRONMENT))' )
$(host_arch)_$(host_os)_id := $( shell env CC = '$(host_CC)' C_STANDARD = '$(C_STANDARD)' CXX = '$(host_CXX)' CXX_STANDARD = '$(CXX_STANDARD)' AR = '$(host_AR)' RANLIB = '$(host_RANLIB)' STRIP = '$(host_STRIP)' SHA256SUM = '$(build_SHA256SUM)' DEBUG = '$(DEBUG)' LTO = '$(LTO)' ./gen_id '$(HOST_ID_SALT)' 'GUIX_ENVIRONMENT=$(realpath $(GUIX_ENVIRONMENT))' )
$(host_arch)_$(host_os)_id := $( shell env CC = '$(host_CC)' C_STANDARD = '$(C_STANDARD)' CXX = '$(host_CXX)' CXX_STANDARD = '$(CXX_STANDARD)' AR = '$(host_AR)' RANLIB = '$(host_RANLIB)' STRIP = '$(host_STRIP)' SHA256SUM = '$(build_SHA256SUM)' DEBUG = '$(DEBUG)' LTO = '$(LTO)' NO_HARDEN = '$(NO_HARDEN)' ./gen_id '$(HOST_ID_SALT)' 'GUIX_ENVIRONMENT=$(realpath $(GUIX_ENVIRONMENT))' )
boost_packages_$(NO_BOOST) = $( boost_packages)
boost_packages_$(NO_BOOST) = $( boost_packages)
@ -253,6 +254,7 @@ $(host_prefix)/share/config.site : config.site.in $(host_prefix)/.stamp_$(final_
-e 's|@no_natpmp@|$(NO_NATPMP)|' \
-e 's|@no_natpmp@|$(NO_NATPMP)|' \
-e 's|@multiprocess@|$(MULTIPROCESS)|' \
-e 's|@multiprocess@|$(MULTIPROCESS)|' \
-e 's|@lto@|$(LTO)|' \
-e 's|@lto@|$(LTO)|' \
-e 's|@no_harden@|$(NO_HARDEN)|' \
-e 's|@debug@|$(DEBUG)|' \
-e 's|@debug@|$(DEBUG)|' \
$< > $@
$< > $@
touch $@
touch $@