mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
Linux build: handle CONFIG_OBJTOOL_WERROR=y
Linux 5.16 by default fails the build on objtool warnings. We have known and understood objtool warnings we can't fix without involving Linux maintainers. To work around this we introduce an objtool wrapper script which removes the `--Werror` flag. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Attila Fülöp <attila@fueloep.org> Closes #17456
This commit is contained in:
@@ -94,6 +94,7 @@ my $tagged_patterns = q(
|
||||
etc/init.d/zfs-share.in
|
||||
etc/init.d/zfs-zed.in
|
||||
etc/zfs/zfs-functions.in
|
||||
scripts/objtool-wrapper.in
|
||||
|
||||
# Misc items that have clear licensing info but aren't easily matched,
|
||||
# or are the first of a class that we aren't ready to match yet.
|
||||
|
||||
Reference in New Issue
Block a user