[PATCH] Introducing compiler plugin support

Michael Stahl mstahl at redhat.com
Tue Oct 9 08:54:11 PDT 2012


> On Monday 08 of October 2012, Michael Stahl wrote:
>> On 05/10/12 18:22, Lubos Lunak wrote:
>>> +$(CLANGOUTDIR)/compileplugin.so: $(2)
>>> +$(CLANGOUTDIR)/compileplugin.so: CLANGOBJS += $(2)
>>> +
>>> +$(CLANGOUTDIR)/compileplugin.so: $(CLANGOBJS)
>>
>> there's a bit of redundancy there.
> 
>  That actually seems to be needed for whatever reason.

d'oh, now i remember: target local variables only work in a rule or in a
target local variable definition; specifically that
"$(CLANGOUTDIR)/compileplugin.so: $(CLANGOBJS)" dependency evaluates
global $(CLANGOBJS) and it will be empty.

sorry for not noticing this common pitfall earlier.



More information about the LibreOffice mailing list