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

Måns Rullgård mans at mansr.com
Sun Jan 29 01:30:03 CET 2012


"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)?

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




More information about the vlc-devel mailing list