diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java index d049bc0d42f868..7ed542448bdb86 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppOptions.java @@ -1142,6 +1142,7 @@ public FragmentOptions getHost() { host.loadCcRulesFromBzl = loadCcRulesFromBzl; host.validateTopLevelHeaderInclusions = validateTopLevelHeaderInclusions; host.parseHeadersSkippedIfCorrespondingSrcsFound = parseHeadersSkippedIfCorrespondingSrcsFound; + host.strictSystemIncludes = strictSystemIncludes; // Save host options for further use. host.hostCoptList = hostCoptList;