mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
build: optimise arm64 darwin qt build using -O1
Building at higher optimisation levels causes reproducibility issues when building on different architectures.
This commit is contained in:
parent
bf3f05f41d
commit
08bd338277
1 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,9 @@ $(package)_config_opts_darwin += -no-feature-corewlan
|
|||
$(package)_config_opts_darwin += -no-freetype
|
||||
$(package)_config_opts_darwin += QMAKE_MACOSX_DEPLOYMENT_TARGET=$(OSX_MIN_VERSION)
|
||||
|
||||
# Optimizing using > -O1 causes non-determinism when building across arches.
|
||||
$(package)_config_opts_aarch64_darwin += "QMAKE_CFLAGS_OPTIMIZE_FULL = -O1"
|
||||
|
||||
ifneq ($(build_os),darwin)
|
||||
$(package)_config_opts_darwin += -xplatform macx-clang-linux
|
||||
$(package)_config_opts_darwin += -device-option MAC_SDK_PATH=$(OSX_SDK)
|
||||
|
|
Loading…
Add table
Reference in a new issue