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

Måns Rullgård mans
Sun Oct 28 21:28:27 CET 2007


Bernhard Rosenkraenzer <bero at arklinux.org> writes:

> On Sunday 28 October 2007, M?ns Rullg?rd wrote:
>> > "CFLAGS-elbg.o = -O2"
>>
>> Does this bring any advantage over normal syntax supported by GNU
>> make?  Like this:
>>
>> elbg.o: CFLAGS=-02
>
> Oh, neat, I wasn't aware of this feature.
> The difference is CFLAGS-elbg.o appends to the normal CFLAGS instead of 
> replacing them, but
>
> elbg.o: CFLAGS += -O2

Yes, of course.  Missed the append part.

> does the same thing indeed, so (unless we care about non-GNU makes and they 
> can deal with the patch but not with this) there's no need to apply the 
> patch.

We require GNU make anyway.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list