diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 895c17541f6013..2f5759a34d35a5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -18,6 +18,11 @@ add_custom_target(generate_build_info COMMENT "Generating obj/build.h" VERBATIM ) + +# Workaround for failing Windows build +# https://github.com/LayerTwo-Labs/bitcoin-patched/actions/runs/11741802296/job/32711223812?pr=7#step:9:666 +add_compile_options(-Wa,-mbig-obj) + add_library(bitcoin_clientversion OBJECT EXCLUDE_FROM_ALL clientversion.cpp )