Skip to content
Commit a9c621a2 authored by Justin M. Forbes's avatar Justin M. Forbes Committed by Miguel Ojeda
Browse files

rust: kbuild: add -fzero-init-padding-bits to bindgen_skip_cflags



This seems to break the build when building with gcc15:

    Unable to generate bindings: ClangDiagnostic("error: unknown
    argument: '-fzero-init-padding-bits=all'\n")

Thus skip that flag.

Signed-off-by: default avatarJustin M. Forbes <jforbes@fedoraproject.org>
Fixes: dce4aab8 ("kbuild: Use -fzero-init-padding-bits=all")
Reviewed-by: default avatarKees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250129215003.1736127-1-jforbes@fedoraproject.org


[ Slightly reworded commit. - Miguel ]
Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent c21bdb3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment