diff options
author | Lynne <dev@lynne.ee> | 2022-01-26 23:40:35 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2022-01-27 02:17:46 +0100 |
commit | 9787005846893c1d1c01cb8ac71abed91980b218 (patch) | |
tree | e53802bee14f17996efdbd772d9db98cbbab992f /libavutil/x86 | |
parent | b2421c4f26aca9b31055aff51ee442b220ebf2a7 (diff) | |
download | ffmpeg-9787005846893c1d1c01cb8ac71abed91980b218.tar.gz |
x86/tx_float: do not build tx_float_init.c if x86 assembly is disabled
This broke builds with --disable-mmx, which also disabled assembly
entirely, but ARCH_X86 was still true, so the init file tried to find
assembly that didn't exist.
Instead of checking for architecture, check if external x86 assembly
is enabled.
Diffstat (limited to 'libavutil/x86')
-rw-r--r-- | libavutil/x86/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/x86/Makefile b/libavutil/x86/Makefile index d747c37049..d66839e35d 100644 --- a/libavutil/x86/Makefile +++ b/libavutil/x86/Makefile @@ -3,7 +3,8 @@ OBJS += x86/cpu.o \ x86/float_dsp_init.o \ x86/imgutils_init.o \ x86/lls_init.o \ - x86/tx_float_init.o \ + +OBJS-$(HAVE_X86ASM) += x86/tx_float_init.o \ OBJS-$(CONFIG_PIXELUTILS) += x86/pixelutils_init.o \ |