NASM builds completely broken files with pentium targets. This causes
ffmpeg to fail compilation. Instead of working around the problem in the
ffmpeg Makefile, it's easier to just not build for broken platforms.

Not even objdump can figure out what the generated files are.

Signed-off-by: Rosen Penev <[email protected]>
---
 This should only be applied to 19.07. I don't think we can change the
 toolchain there.
 toolchain/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index 762f4e10d7..f55e756877 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -226,7 +226,7 @@ source "toolchain/gcc/Config.in"
 
 config NASM
        bool
-       depends on ( i386 || x86_64 )
+       depends on (x86_64 || (i386 && !(TARGET_x86_geode || 
TARGET_x86_legacy)))
        prompt "Build nasm" if TOOLCHAINOPTS
        default y
        help
-- 
2.24.1


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to