[PATCH] Unbreak the .m.c rule
Paulo Zanoni
przanoni at gmail.com
Wed Feb 23 03:09:06 PST 2011
Great! Now I can build xts on newer distros =)
Tested-by: Paulo Zanoni <pzanoni at mandriva.com>
2011/2/23 Peter Hutterer <peter.hutterer at who-t.net>:
> 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 <ajax at redhat.com>
>> ---
>> 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 <peter.hutterer at who-t.net>
>
> Cheers,
> Peter
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>
--
Paulo Zanoni
More information about the xorg-devel
mailing list