python3-aiohttp: fix compiler failure on 32-bit arm

Build 32bit python3-aiohttp failed on arm
...
vendor/llhttp/build/c/llhttp.c:2643:11: error: incompatible type for argument 1 of 'vandq_u16'
 2643 |           vcgeq_u8(input, vdupq_n_u8(' ')),
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |           |
      |           uint8x16_t
...

Refer [1], add -flax-vector-conversions to 32bit arm compiler

[1] https://github.com/xmrig/xmrig/issues/3673

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Hongxu Jia 2025-10-24 11:27:07 +08:00 committed by Khem Raj
parent 3f3c8f39ed
commit 6a21bd735b

View File

@ -21,3 +21,5 @@ RDEPENDS:${PN} = "\
python3-yarl \
python3-aiodns \
"
CFLAGS:append:arm = " -flax-vector-conversions"