Files
FFmpeg/libavutil/x86/Makefile
Andreas Rheinhardt 5c88f46c92 avutil/x86/aes: Only assemble iff HAVE_AESNI_EXTERNAL
This avoids relying on DCE and works around a NASM bug [1].

[1]: https://github.com/netwide-assembler/nasm/issues/216

Reviewed-by: Kacper Michajłow <kasper93@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2026-03-28 23:25:54 +01:00

16 lines
865 B
Makefile

OBJS += x86/cpu.o \
EMMS_OBJS_$(HAVE_MMX_INLINE)_$(HAVE_MMX_EXTERNAL)_$(HAVE_MM_EMPTY) = x86/emms.o
X86ASM-OBJS += x86/cpuid.o \
x86/crc.o \
$(EMMS_OBJS__yes_) \
x86/fixed_dsp.o x86/fixed_dsp_init.o \
x86/float_dsp.o x86/float_dsp_init.o \
x86/imgutils.o x86/imgutils_init.o \
x86/lls.o x86/lls_init.o \
x86/tx_float.o x86/tx_float_init.o \
X86ASM-OBJS-$(HAVE_AESNI_EXTERNAL) += x86/aes.o x86/aes_init.o
X86ASM-OBJS-$(CONFIG_PIXELUTILS) += x86/pixelutils.o