diff --git a/src/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java b/src/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java index 3dedbc6fd1d5ef..20be2cc0945520 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java +++ b/src/main/java/com/google/devtools/build/lib/rules/apple/AppleCommandLineOptions.java @@ -521,6 +521,9 @@ public FragmentOptions getHost() { host.applePlatforms = applePlatforms; host.incompatibleUseToolchainResolution = incompatibleUseToolchainResolution; + // Save host option for further use. + host.hostMacosMinimumOs = hostMacosMinimumOs; + return host; }