[Ffmpeg-devel] [PATCH] Compiling problems on CVS
Wed Apr 19 16:16:29 CEST 2006
On Wed, Apr 19, 2006 at 10:12:16AM -0300, Ramiro Polla wrote:
> I think ffmpeg should be compilable for debug without the need of hacking
> I suggest something such as a flag for the makefiles that is set when
> optimization is disabled. The specific files that require optimization
> could check that flag and add -O3.
> --- libavcodec/Makefile.orig 2006-04-19 09:27:11.000000000 -0300
> +++ libavcodec/Makefile 2006-04-19 10:07:05.000000000 -0300
> @@ -342,6 +342,7 @@
> i386/idct_mmx.o i386/motion_est_mmx.o \
> i386/simple_idct_mmx.o i386/fft_sse.o i386/vp3dsp_mmx.o \
> i386/vp3dsp_sse2.o i386/fft_3dn.o i386/fft_3dn2.o i386/snowdsp_mmx.o
> +i386/dsputil_mmx.o: CFLAGS+= -O3
> ifeq ($(CONFIG_GPL),yes)
> OBJS += i386/idct_mmx_xvid.o
This patch looks untested. Apart from messing up indentation I'll bet
you a dollar it doesn't work.
Also, please don't top-post.
More information about the ffmpeg-devel