On 12/16/25 15:26, Kevin Brodsky wrote:
check_config.sh checks that liburing is available by running the
compiler provided as its first argument. This makes two assumptions:
1. CC consists of only one word
2. No extra flag is required
Unfortunately, there are many situations where these assumptions
don't hold. For instance:
- When using Clang, CC consists of multiple words
- When cross-compiling, extra flags may be required to allow the
compiler to find headers
Remove these assumptions by passing down CC and CFLAGS as-is from
the Makefile, so that the same command line is used as when actually
building the tests.
Cc: Jason Gunthorpe <[email protected]>
Cc: John Hubbard <[email protected]>
Signed-off-by: Kevin Brodsky <[email protected]>
---
Looks reasonable to me and I hope we find no surpirses :)
Acked-by: David Hildenbrand (Red Hat) <[email protected]>
--
Cheers
David