summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/utils.py')
-rw-r--r--meta/lib/oe/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index 29b41151d4..ee6f0e6647 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -363,6 +363,9 @@ def host_gcc_version(d, taskcontextonly=False):
363 return 363 return
364 364
365 compiler = d.getVar("BUILD_CC") 365 compiler = d.getVar("BUILD_CC")
366 # Get rid of ccache since it is not present when parsing.
367 if compiler.startswith('ccache '):
368 compiler = compiler[7:]
366 try: 369 try:
367 env = os.environ.copy() 370 env = os.environ.copy()
368 env["PATH"] = d.getVar("PATH") 371 env["PATH"] = d.getVar("PATH")