X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuilder.cpp;h=e453a84eb73e178c4633799a59afc34810568933;hb=407b96515a5246384847d1835a2d69704e941ea1;hp=92475869235ea98d8139151f83d7145eb31297d5;hpb=217889f81407de43d8de469ad93e05b7d334ae0c;p=builder.git diff --git a/source/builder.cpp b/source/builder.cpp index 9247586..e453a84 100644 --- a/source/builder.cpp +++ b/source/builder.cpp @@ -77,7 +77,8 @@ void Builder::set_temp_directory(const FS::Path &p) void Builder::add_default_tools() { - if(current_arch->get_system()=="darwin" && vfs.find_binary("clang")) + bool use_clang = (current_arch->get_system()=="darwin" || current_arch->get_system()=="freebsd"); + if(use_clang && 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));