[Ffmpeg-devel] [PATCH] (1) building with --disable-opts on i386 with mmx enabled
Marco Manfredini
mldb
Fri Aug 11 19:54:31 CEST 2006
On Friday 11 August 2006 19:11, Michael Niedermayer wrote:
> ill leave this to our Makefile maintainer but my oppinion is rejected
> as this 1. will break with some compilers and 2. doesnt belong to the
> Makefile
The Makefile already assigns per file opcode extension flags. After my
addition it continues with:
ifeq ($(TARGET_BUILTIN_VECTOR),yes)
i386/fft_sse.o: CFLAGS+= -msse
depend: CFLAGS+= -msse
endif
ifeq ($(TARGET_BUILTIN_3DNOW),yes)
i386/fft_3dn.o: CFLAGS+= -m3dnow
ifeq ($(TARGET_ARCH_X86),yes)
i386/fft_3dn2.o: CFLAGS+= -march=athlon
endif
ifeq ($(TARGET_ARCH_X86_64),yes)
i386/fft_3dn2.o: CFLAGS+= -march=k8
endif
endif
endif
So it seems to belong in the Makefile and neither -m3dnow nor -msse have been
cause for concern regarding older compilers.
More information about the ffmpeg-devel
mailing list