summaryrefslogtreecommitdiff
path: root/morphlib/cachekeycomputer.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2013-02-25 11:45:30 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2013-03-13 15:20:02 +0000
commit92d98f57eaa6e0871b70d0d0ab1db879cf3ea47a (patch)
treee8d6629110f8c079c2d94b6f1e3fe8e239b9fd43 /morphlib/cachekeycomputer.py
parentece7f823de6bd61a0676edf71a9525697848824e (diff)
downloadmorph-92d98f57eaa6e0871b70d0d0ab1db879cf3ea47a.tar.gz
Set environment variables defining target for build-essential
In the future we will allow this to be modified to provide a cross-bootstrap mode, but for now we use the same target as the host compiler.
Diffstat (limited to 'morphlib/cachekeycomputer.py')
-rw-r--r--morphlib/cachekeycomputer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/cachekeycomputer.py b/morphlib/cachekeycomputer.py
index 15dc5ae9..d9ad5762 100644
--- a/morphlib/cachekeycomputer.py
+++ b/morphlib/cachekeycomputer.py
@@ -27,7 +27,8 @@ class CacheKeyComputer(object):
self._calculated = {}
def _filterenv(self, env):
- keys = ["BOOTSTRAP", "LOGNAME", "PREFIX", "USER", "USERNAME"]
+ keys = ["LOGNAME", "PREFIX", "TARGET", "TARGET_STAGE1",
+ "TARGET_GCC_CONFIG", "USER", "USERNAME"]
return dict([(k, env[k]) for k in keys])
def compute_key(self, artifact):