summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2024-07-09 08:35:50 +0100
committernaushir <naushir@users.noreply.github.com>2024-07-09 08:55:37 +0100
commit93ed3aee00f3b244b2d991fa41cdd97db9ab6023 (patch)
tree0afba139175c73b9a6b02486dec7313b492d7bd9
parent0eb1861c07349c3cfee95b3ce8531539631bc46d (diff)
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 <naush@raspberrypi.com>
-rw-r--r--src/ipa/rpi/pisp/meson.build1
1 files changed, 1 insertions, 0 deletions
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