Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile.uk: Don't add unsupported warnings when built with clang
Clang (12.0.0) does not recognize the warnings: no-unused-but-set-variable, no-maybe-uninitialized, no-builtin-declaration-mismatch. It would print "unknown warning option" warning messages during compilation. These should be enabled only when compiling with GCC (tested with 11.3.0). GitHub-Fixes: unikraft#1 Co-authored-by: Nikos Oikonomou <[email protected]> Signed-off-by: Nikos Oikonomou <[email protected]> Signed-off-by: Groute <[email protected]>
- Loading branch information