[FFmpeg-devel] [PATCH] support per-file CFLAGS settings

Bernhard Rosenkraenzer bero
Sun Oct 28 18:49:25 CET 2007

This patch adds support for adding per-file CFLAGS/LDFLAGS settings to the 
ffmpeg build system.

I'm currently using it to work around compiler bugs (adding "CFLAGS-algb.o 
= -O2" to libavcodec/Makefile, overriding the -O3 in use for all other files, 
makes it compile on x86_64 with gcc 4.3), but it can also be useful in other 
contexts (e.g. adding a -I/usr/include/someLibrary only for a file using that 
library, to prevent header file name clashes).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-perfileflags.patch
Type: text/x-diff
Size: 984 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071028/aa61a911/attachment.patch>

More information about the ffmpeg-devel mailing list