mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 06:49:38 -04:00
depends: Specify Objective C/C++ compilers for native_qt
package
This change fixes cross-compilation from macOS to macOS with another architecture.
This commit is contained in:
parent
c66f7dab33
commit
690f5da15a
1 changed files with 4 additions and 0 deletions
|
@ -88,6 +88,10 @@ $(package)_config_opts += -no-feature-qtplugininfo
|
||||||
|
|
||||||
$(package)_config_env := CC="$$(build_CC)"
|
$(package)_config_env := CC="$$(build_CC)"
|
||||||
$(package)_config_env += CXX="$$(build_CXX)"
|
$(package)_config_env += CXX="$$(build_CXX)"
|
||||||
|
ifeq ($(build_os),darwin)
|
||||||
|
$(package)_config_env += OBJC="$$(build_CC)"
|
||||||
|
$(package)_config_env += OBJCXX="$$(build_CXX)"
|
||||||
|
endif
|
||||||
|
|
||||||
$(package)_cmake_opts := -DCMAKE_EXE_LINKER_FLAGS="$$(build_LDFLAGS)"
|
$(package)_cmake_opts := -DCMAKE_EXE_LINKER_FLAGS="$$(build_LDFLAGS)"
|
||||||
ifneq ($(V),)
|
ifneq ($(V),)
|
||||||
|
|
Loading…
Add table
Reference in a new issue