| ... | @@ -1978,6 +1978,9 @@ pub const LibExeObjStep = struct { | ... | @@ -1978,6 +1978,9 @@ pub const LibExeObjStep = struct { |
| 1978 | | 1978 | |
| 1979 | const all_features = self.target.getArch().allFeaturesList(); | 1979 | const all_features = self.target.getArch().allFeaturesList(); |
| 1980 | var populated_cpu_features = cross.cpu_features.cpu.features; | 1980 | var populated_cpu_features = cross.cpu_features.cpu.features; |
| | 1981 | if (self.target.getArch().subArchFeature()) |sub_arch_index| { |
| | 1982 | populated_cpu_features.addFeature(sub_arch_index); |
| | 1983 | } |
| 1981 | populated_cpu_features.populateDependencies(all_features); | 1984 | populated_cpu_features.populateDependencies(all_features); |
| 1982 | | 1985 | |
| 1983 | if (populated_cpu_features.eql(cross.cpu_features.features)) { | 1986 | if (populated_cpu_features.eql(cross.cpu_features.features)) { |