Added ARCHITECTURE field when showing specs

This commit is contained in:
Mario Melara 2016-02-17 14:51:14 -08:00
parent 54042e399b
commit d9e8bf1807

View file

@ -1735,9 +1735,9 @@ def write(s, c):
elif named_str == 'OPTIONS': elif named_str == 'OPTIONS':
if self.variants: if self.variants:
write(fmt % str(self.variants), '+') write(fmt % str(self.variants), '+')
elif named_str == 'TARGET': elif named_str == 'ARCHITECTURE':
if self.target: if self.architecture:
write(fmt % str(self.target), '=') write(fmt % self.architecture, '=')
elif named_str == 'SHA1': elif named_str == 'SHA1':
if self.dependencies: if self.dependencies:
out.write(fmt % str(self.dep_hash(8))) out.write(fmt % str(self.dep_hash(8)))