Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] ffmpeg: Disable asm optimizations on x86
@ 2024-10-13 19:17 Khem Raj
  2024-10-13 19:37 ` [OE-core] " Alexander Kanavin
  2024-10-14 11:02 ` Ross Burton
  0 siblings, 2 replies; 5+ messages in thread
From: Khem Raj @ 2024-10-13 19:17 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj, Ross Burton

disable asm code if PIC is required, as the provided asm
decidedly is not PIC for x86.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
---
 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)}"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-14 17:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-13 19:17 [PATCH] ffmpeg: Disable asm optimizations on x86 Khem Raj
2024-10-13 19:37 ` [OE-core] " Alexander Kanavin
2024-10-13 20:24   ` Khem Raj
2024-10-14 11:02 ` Ross Burton
2024-10-14 17:47   ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox