Great! Now I can build xts on newer distros =)

Tested-by: Paulo Zanoni <[email protected]>

2011/2/23 Peter Hutterer <[email protected]>:
> On Tue, Feb 22, 2011 at 05:57:26PM -0500, Adam Jackson wrote:
>> Some builds of gnu make apparently know how to go straight from .m to .o.
>> That's great if your .m file is Objective C source, but for us, it's not.
>>
>> Signed-off-by: Adam Jackson <[email protected]>
>> ---
>>  xts5/common.mk |    4 ++++
>>  1 files changed, 4 insertions(+), 0 deletions(-)
>>
>> diff --git a/xts5/common.mk b/xts5/common.mk
>> index 52d0fd6..d36c25e 100644
>> --- a/xts5/common.mk
>> +++ b/xts5/common.mk
>> @@ -10,6 +10,10 @@ MC = $(top_builddir)/xts5/src/bin/mc/mc
>>  AM_V_MC = $(am__v_MC_$(V))
>>  am__v_MC_ = $(am__v_MC_$(AM_DEFAULT_VERBOSITY))
>>  am__v_MC_0 = @echo "  MC    " $@;
>> +
>> +# empty rules to turn off objc magic.  grr.
>> +%.o : %.m
>> +
>>  .m.c:
>>       $(AM_V_MC)TET_ROOT='$(abs_top_srcdir)' $(MC) -o $@ $<
>>  .m_m.c:
>> --
>> 1.7.4.1
>
> Acked-by: Peter Hutterer <[email protected]>
>
> Cheers,
>  Peter
> _______________________________________________
> [email protected]: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>



-- 
Paulo Zanoni
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to