[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec Makefile,1.261,1.262

Guillaume Poirier CVS gpoirier
Tue May 16 16:24:47 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv11020/libavcodec

Modified Files:
	Makefile 
Log Message:
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)


Index: Makefile
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/Makefile,v
retrieving revision 1.261
retrieving revision 1.262
diff -u -d -r1.261 -r1.262
--- Makefile	14 May 2006 22:00:03 -0000	1.261
+++ Makefile	16 May 2006 14:24:45 -0000	1.262
@@ -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
 





More information about the ffmpeg-cvslog mailing list