aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-06-23 03:09:04 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-06-23 03:09:04 +0300
commit7fe106365c54d119c292b0e5d2c1524246c590ac (patch)
tree91dc8af50f74b5008f1629f34fba048f11ad6926
parent0e7a9c1281384075660754a966563969d19d0f04 (diff)
downloadmeson-7fe106365c54d119c292b0e5d2c1524246c590ac.zip
meson-7fe106365c54d119c292b0e5d2c1524246c590ac.tar.gz
meson-7fe106365c54d119c292b0e5d2c1524246c590ac.tar.bz2
Read the proper environment variable name.
-rw-r--r--environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.py b/environment.py
index 39d23e7..3253295 100644
--- a/environment.py
+++ b/environment.py
@@ -658,7 +658,7 @@ class Environment():
return os.path.join(path, 'depfixer.py')
def detect_cpp_compiler(self):
- evar = 'CC'
+ evar = 'CXX'
if evar in os.environ:
compilers = os.environ[evar].split()
ccache = []