Shared cache directory for the build derived files // Resolve #2674

This commit is contained in:
Ivan Kravets
2019-06-15 18:53:13 +03:00
parent bd8ba738cf
commit fbdfe31f17
5 changed files with 14 additions and 3 deletions
+2
View File
@@ -210,6 +210,8 @@ def _delete_file(path):
@util.memoized()
def _get_compiler_type(env):
if env.subst("$CC").endswith("-gcc"):
return "gcc"
try:
sysenv = environ.copy()
sysenv['PATH'] = str(env['ENV']['PATH'])