Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tdx-attest-sys: don't pass '-I' to clang when SGX_SDK not defined
I am unable to cargo build tdx-attest-sys, because when SGX_SDK is not defined (e.g. when libtdx-attest-dev is installed as a system package), the bindgen call ends up looking having a clang_arg("-I") argument which panics. Make sdk_inc empty by default and move prepending "-I" to the match block. Signed-off-by: jenkins <[email protected]>
- Loading branch information