We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff70910 + 5200c9b commit 3e21df2Copy full SHA for 3e21df2
toolchains/cc/cc.nix
@@ -143,6 +143,12 @@ pkgs.runCommand "bazel-${cc.orignalName or cc.name}-toolchain"
143
| xargs -0 -r realpath -ms
144
}
145
CXX_BUILTIN_INCLUDE_DIRECTORIES=($({
146
+ if is_compiler_option_supported -print-resource-dir; then
147
+ resource_dir="$( $cc -print-resource-dir )"
148
+ if [ -d "$resource_dir/share" ]; then
149
+ echo "$resource_dir/share"
150
+ fi
151
152
include_dirs_for c
153
include_dirs_for c++
154
if is_compiler_option_supported -fno-canonical-system-headers; then
0 commit comments