[SCM] libav/experimental: fixed dependancy generation (I want the case where SRC_PATH is not . to work too - very useful if you have different gcc versions to test at the same time...) - fixed -msse stuff

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:35:02 UTC 2013


The following commit has been merged in the experimental branch:
commit a968e365c9052bc99a3e8ae462321af46f799649
Author: Fabrice Bellard <fabrice at bellard.org>
Date:   Wed Jan 22 09:35:03 2003 +0000

    fixed dependancy generation (I want the case where SRC_PATH is not . to work too - very useful if you have different gcc versions to test at the same time...) - fixed -msse stuff
    
    Originally committed as revision 1488 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 99cc021..851ef73 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -51,6 +51,9 @@ OBJS += i386/fdct_mmx.o i386/cputest.o \
 	i386/dsputil_mmx.o i386/mpegvideo_mmx.o \
 	i386/idct_mmx.o i386/motion_est_mmx.o \
 	i386/simple_idct_mmx.o i386/fft_sse.o
+ifdef TARGET_BUILTIN_VECTOR
+i386/fft_sse.o: CFLAGS+= -msse
+endif
 endif
 
 # armv4l specific stuff
@@ -131,7 +134,7 @@ alpha/motion_est_alpha.o: alpha/motion_est_alpha.c
 endif
 
 .depend: $(SRCS)
-	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+	$(CC) -MM $(CFLAGS) $^ 1>.depend
 
 dep:	depend
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list