Skip to content

Clang: detect `-resource-dir` for `clang-scan-deps`

When cross-compiling, clang-scan-deps needs help to find the correct location of core headers such as stddef.h. Always determine this path and pass it when available.

Fixes: #25590 (closed)


Manual-backport: release-3.28
Backport: release

Merge request reports