osquery / osquery-toolchain

A LLVM-based toolchain for Linux designed to build a portable osquery
Other
38 stars 22 forks source link

Fix scan-build support for sysroot= #17

Closed Smjert closed 4 years ago

Smjert commented 4 years ago

The ccc-analyzer script which is a wrapper for the compilation when using scan-build, do not support the sysroot parameter given with --sysroot=, as we use in osquery since it's what CMake uses. A fix has been done upstream but it's only available in LLVM/Clang 10 which is not stable, so we backport and apply those two fixes to our version.