From 93ed3aee00f3b244b2d991fa41cdd97db9ab6023 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Tue, 9 Jul 2024 08:35:50 +0100 Subject: ipa: rpi: pisp: Add '-Wno-address-of-packed-member' to the compiler args This is needed for when we start using the UAPI kernel headers which use "__attribute__((packed))" to force structure packing as required by the kernel. The compiler complains about taking a possibly unaligned address of a packed structure even though the structure has been hand packed. Signed-off-by: Naushir Patuck --- src/ipa/rpi/pisp/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ipa/rpi/pisp/meson.build b/src/ipa/rpi/pisp/meson.build index b1daf9fc..e60971b3 100644 --- a/src/ipa/rpi/pisp/meson.build +++ b/src/ipa/rpi/pisp/meson.build @@ -33,6 +33,7 @@ mod = shared_module(ipa_name, link_with : libipa, link_whole : pisp_ipa_libs, install : true, + cpp_args : '-Wno-address-of-packed-member', install_dir : ipa_install_dir) if ipa_sign_module -- cgit v1.2.1