diff options
author | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2006-05-16 14:24:45 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2006-05-16 14:24:45 +0000 |
commit | c2f69579bb9cb929fb2cfcba426f524f0f107169 (patch) | |
tree | 2e5caecc9002cbb37058a7be5b77dc6f70d841bd /libavcodec/Makefile | |
parent | b997b34fa7a52120acd6738258c7049e54f10821 (diff) | |
download | ffmpeg-c2f69579bb9cb929fb2cfcba426f524f0f107169.tar.gz |
fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
3dnow intrinsincs are for now only compiled if 3dnowext support is available. (I should add smth that
checks for plain 3dnow later)
Originally committed as revision 5386 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r-- | libavcodec/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 6f82a5bd3e..afc63b752b 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -350,7 +350,12 @@ depend: CFLAGS+= -msse endif ifdef TARGET_BUILTIN_3DNOW i386/fft_3dn.o: CFLAGS+= -m3dnow -i386/fft_3dn2.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 |