aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Nurmi <[email protected]>2016-07-01 22:37:07 +0300
committerLauri Nurmi <[email protected]>2016-07-02 16:17:59 +0300
commitbbf85d905c32e89cd1d2b7e07db58527f1e89ee5 (patch)
treef51e3f24197132cc2c665324a71cf7ca4ed91a76
parent681ecab83d75f56ff7017ade021ba3d36a099edc (diff)
Guess the compiler to be clang on FreeBSD
FreeBSD 10 comes with clang installed by default, and no gcc
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
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: