Skip to content

Commit d889870

Browse files
committed
fixup! build: Generate share/toolchain.cmake in depends
1 parent 8abb5fd commit d889870

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

depends/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ $(host_prefix)/share/toolchain.cmake : toolchain.cmake.in $(host_prefix)/.stamp_
285285
-e 's|@no_upnp@|$(NO_UPNP)|' \
286286
-e 's|@no_natpmp@|$(NO_NATPMP)|' \
287287
-e 's|@no_usdt@|$(NO_USDT)|' \
288+
-e 's|@no_harden@|$(NO_HARDEN)|' \
288289
$< > $@
289290
touch $@
290291

depends/toolchain.cmake.in

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright (c) 2023-present The Bitcoin Core developers
2+
# Distributed under the MIT software license, see the accompanying
3+
# file COPYING or https://opensource.org/license/mit/.
4+
15
# This file is expected to be highly volatile and may still change substantially.
26

37
set(CMAKE_SYSTEM_NAME @host_system@)
@@ -138,3 +142,7 @@ endif()
138142
if(NOT WITH_USDT AND "@no_usdt@" STREQUAL "1")
139143
set(WITH_USDT OFF CACHE STRING "")
140144
endif()
145+
146+
if(NOT HARDENING AND "@no_harden@" STREQUAL "1")
147+
set(HARDENING OFF CACHE STRING "")
148+
endif()

0 commit comments

Comments
 (0)