From bbf85d905c32e89cd1d2b7e07db58527f1e89ee5 Mon Sep 17 00:00:00 2001 From: Lauri Nurmi Date: Fri, 1 Jul 2016 22:37:07 +0300 Subject: Guess the compiler to be clang on FreeBSD FreeBSD 10 comes with clang installed by default, and no gcc --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 324d84079..08babc978 100755 --- a/configure.py +++ b/configure.py @@ -1919,7 +1919,7 @@ def main(argv = None): options.compiler = 'gcc' else: options.compiler = 'msvc' - elif options.os == 'darwin': + elif options.os == 'darwin' or options.os == 'freebsd': if have_program('clang++'): options.compiler = 'clang' else: -- cgit v1.2.3