bx
bx copied to clipboard
(linux->osx) Autodetect the installed version of clang
Previously this would always use "x86_64-apple-darwin15-" as the toolchain. Now it autodetects the correct "x86_64-apple-darwinXX-", assuming that x86_64-apple-darwinXX-clang is in $PATH (which it should be is osxcross has been correctly installed by the user). If it does not detect it falls back to "x86_64-apple-darwin15-"