Skip to content

Commit 93ed3ae

Browse files
committed
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 <[email protected]>
1 parent 0eb1861 commit 93ed3ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ipa/rpi/pisp/meson.build

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ mod = shared_module(ipa_name,
3333
link_with : libipa,
3434
link_whole : pisp_ipa_libs,
3535
install : true,
36+
cpp_args : '-Wno-address-of-packed-member',
3637
install_dir : ipa_install_dir)
3738

3839
if ipa_sign_module

0 commit comments

Comments
 (0)