File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -161,9 +161,15 @@ $(package)_config_opts_linux += -dbus-runtime
161161ifneq ($(LTO ) ,)
162162$(package)_config_opts_linux += -ltcg
163163endif
164- $(package ) _config_opts_linux += -platform linux-g++ -xplatform bitcoin-linux-g++
165- ifneq (,$(findstring -stdlib=libc++,$($(1 ) _cxx) ) )
166- $(package)_config_opts_x86_64_linux = -xplatform linux-clang-libc++
164+
165+ ifneq (,$(findstring clang,$($(package ) _cxx) ) )
166+ ifneq (,$(findstring -stdlib=libc++,$($(package)_cxx)))
167+ $(package)_config_opts_linux += -platform linux-clang-libc++ -xplatform linux-clang-libc++
168+ else
169+ $(package)_config_opts_linux += -platform linux-clang -xplatform linux-clang
170+ endif
171+ else
172+ $(package)_config_opts_linux += -platform linux-g++ -xplatform bitcoin-linux-g++
167173endif
168174
169175$(package ) _config_opts_mingw32 = -no-opengl
You can’t perform that action at this time.
0 commit comments