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 @@ -159,9 +159,15 @@ $(package)_config_opts_linux += -dbus-runtime
159159ifneq ($(LTO ) ,)
160160$(package)_config_opts_linux += -ltcg
161161endif
162- $(package ) _config_opts_linux += -platform linux-g++ -xplatform bitcoin-linux-g++
163- ifneq (,$(findstring -stdlib=libc++,$($(1 ) _cxx) ) )
164- $(package)_config_opts_x86_64_linux = -xplatform linux-clang-libc++
162+
163+ ifneq (,$(findstring clang,$($(package ) _cxx) ) )
164+ ifneq (,$(findstring -stdlib=libc++,$($(package)_cxx)))
165+ $(package)_config_opts_linux += -platform linux-clang-libc++ -xplatform linux-clang-libc++
166+ else
167+ $(package)_config_opts_linux += -platform linux-clang -xplatform linux-clang
168+ endif
169+ else
170+ $(package)_config_opts_linux += -platform linux-g++ -xplatform bitcoin-linux-g++
165171endif
166172
167173$(package ) _config_opts_mingw32 = -no-opengl
You can’t perform that action at this time.
0 commit comments