Wouldn’t this be a build time error? Why is it not seen on the ab?

Alex

On Sun 13. Oct 2024 at 21.17, Khem Raj via lists.openembedded.org <raj.khem=
[email protected]> wrote:

> disable asm code if PIC is required, as the provided asm
> decidedly is not PIC for x86.
>
> Signed-off-by: Khem Raj <[email protected]>
> Cc: Ross Burton <[email protected]>
> ---
>  meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb
> b/meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb
> index af66104ebf3..3c66851b8d2 100644
> --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb
> +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb
> @@ -129,6 +129,8 @@ EXTRA_OECONF = " \
>  "
>
>  EXTRA_OECONF:append:linux-gnux32 = " --disable-asm"
> +# --enable-pic is used and x86 assembly is not PIC on x86
> +EXTRA_OECONF:append:x86 = " --disable-asm"
>
>  EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa64r6',
> '--disable-mips64r2 --disable-mips32r2', '', d)}"
>  EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa64r2',
> '--disable-mips64r6 --disable-mips32r6', '', d)}"
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#205725): 
https://lists.openembedded.org/g/openembedded-core/message/205725
Mute This Topic: https://lists.openembedded.org/mt/108988536/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to