aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-07-31 10:31:39 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2017-07-31 07:08:07 -0400
commit7f307fd5ef3547152c7d48fd362dd511dd94b9d3 (patch)
tree90fb976f80e05094bb393561682a57f3505b4663
parent4c0029711248f7d2fe947ee95efee9571ec0b719 (diff)
downloadmeson-7f307fd5ef3547152c7d48fd362dd511dd94b9d3.zip
meson-7f307fd5ef3547152c7d48fd362dd511dd94b9d3.tar.gz
meson-7f307fd5ef3547152c7d48fd362dd511dd94b9d3.tar.bz2
Update list of compiler executable names to try.
-rw-r--r--mesonbuild/environment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index dd9f56e..85473b1 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -309,8 +309,8 @@ class Environment:
self.default_c = ['cl', 'cc', 'gcc', 'clang']
self.default_cpp = ['cl', 'c++', 'g++', 'clang++']
else:
- self.default_c = ['cc']
- self.default_cpp = ['c++']
+ self.default_c = ['cc', 'gcc', 'clang']
+ self.default_cpp = ['c++', 'g++', 'clang++']
self.default_objc = ['cc']
self.default_objcpp = ['c++']
self.default_fortran = ['gfortran', 'g95', 'f95', 'f90', 'f77', 'ifort']