Mercurial > libavcodec.hg
diff Makefile @ 3308:57078a058b96 libavcodec
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)
author | gpoirier |
---|---|
date | Tue, 16 May 2006 14:24:45 +0000 |
parents | 165069d58cc2 |
children | 726ab1038351 |
line wrap: on
line diff
--- a/Makefile Sun May 14 22:00:03 2006 +0000 +++ b/Makefile Tue May 16 14:24:45 2006 +0000 @@ -350,7 +350,12 @@ 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