Skip to content

Commit 1d73d72

Browse files
ShreeM01keithkeertk
authored
[6.1.0]Fix --host_features with multiple transitions (#17641)
* Fix --host_features with multiple transitions Fixes #13839 (comment) Closes #17625. PiperOrigin-RevId: 513249316 Change-Id: Ied4ab6958febaf320ae9e0f906c8071db0077e43 * Update exec to host --------- Co-authored-by: Keith Smiley <[email protected]> Co-authored-by: keertk <[email protected]>
1 parent b396e2a commit 1d73d72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/google/devtools/build/lib/analysis/config/CoreOptions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,7 @@ public FragmentOptions getHost() {
10091009

10101010
// === Pass on C++ compiler features.
10111011
host.incompatibleUseHostFeatures = incompatibleUseHostFeatures;
1012+
host.hostFeatures = ImmutableList.copyOf(hostFeatures);
10121013
if (incompatibleUseHostFeatures) {
10131014
host.defaultFeatures = ImmutableList.copyOf(hostFeatures);
10141015
} else {

0 commit comments

Comments
 (0)