[vlc-devel] [PATCH] contrib: make HAVE_FPU check consistent with vlc_cpu.h

Rafaël Carré funman at videolan.org
Sun Jan 29 01:43:03 CET 2012


Le 2012-01-28 19:30, Måns Rullgård a écrit :
> "Rémi Denis-Courmont" <remi at remlab.net> writes:
> 
>> Le samedi 28 janvier 2012 19:39:44 Rafaël Carré, vous avez écrit :
>>> ---
>>>  contrib/src/main.mak |    8 ++++++++
>>>  1 files changed, 8 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/contrib/src/main.mak b/contrib/src/main.mak
>>> index 81e6112..5e077f0 100644
>>> --- a/contrib/src/main.mak
>>> +++ b/contrib/src/main.mak
>>> @@ -29,6 +29,8 @@ CONTRIB_VIDEOLAN := $(VIDEOLAN)/testing/contrib
>>>  #
>>>  # Machine-dependent variables
>>>  #
>>> +cppcheck = $(shell echo|$(CC) $(CFLAGS) -E -dM -|grep -E $(1))
>>
>> Yeah. I would use < /dev/null though.
> 
> Is there some reason for using a shell redirection rather than passing
> /dev/null as a filename argument to $(CC)?

Nope



More information about the vlc-devel mailing list