mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 14:37:42 -03:00
build, qt: Fix handling of CXX=clang++
when building qt
package
This commit is contained in:
parent
f380bb93e8
commit
25e8fe70c6
1 changed files with 9 additions and 3 deletions
|
@ -161,9 +161,15 @@ $(package)_config_opts_linux += -dbus-runtime
|
||||||
ifneq ($(LTO),)
|
ifneq ($(LTO),)
|
||||||
$(package)_config_opts_linux += -ltcg
|
$(package)_config_opts_linux += -ltcg
|
||||||
endif
|
endif
|
||||||
$(package)_config_opts_linux += -platform linux-g++ -xplatform bitcoin-linux-g++
|
|
||||||
ifneq (,$(findstring -stdlib=libc++,$($(1)_cxx)))
|
ifneq (,$(findstring clang,$($(package)_cxx)))
|
||||||
$(package)_config_opts_x86_64_linux = -xplatform linux-clang-libc++
|
ifneq (,$(findstring -stdlib=libc++,$($(package)_cxx)))
|
||||||
|
$(package)_config_opts_linux += -platform linux-clang-libc++ -xplatform linux-clang-libc++
|
||||||
|
else
|
||||||
|
$(package)_config_opts_linux += -platform linux-clang -xplatform linux-clang
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
$(package)_config_opts_linux += -platform linux-g++ -xplatform bitcoin-linux-g++
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(package)_config_opts_mingw32 = -no-opengl
|
$(package)_config_opts_mingw32 = -no-opengl
|
||||||
|
|
Loading…
Add table
Reference in a new issue