X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuilder.cpp;h=92475869235ea98d8139151f83d7145eb31297d5;hb=c75c89d2425ab0c69e94d45a5d956286838bbc67;hp=3776e36ef169dc09db238d2630a16f051cc17de5;hpb=aeb23448b5035f4ceb662c487913618d0efff888;p=builder.git diff --git a/source/builder.cpp b/source/builder.cpp index 3776e36..9247586 100644 --- a/source/builder.cpp +++ b/source/builder.cpp @@ -77,7 +77,7 @@ void Builder::set_temp_directory(const FS::Path &p) void Builder::add_default_tools() { - if(current_arch->get_system()=="darwin") + if(current_arch->get_system()=="darwin" && vfs.find_binary("clang")) toolchain.add_toolchain(new ClangTools(*this, *current_arch)); if(current_arch->get_system()=="android") toolchain.add_toolchain(new AndroidTools(*this, *current_arch));