[vlc-devel] [PATCH] Build contribs with debugging symbols

Edward Wang edward.c.wang at compdigitec.com
Wed Aug 29 14:31:50 CEST 2012


On 12-08-29 08:30 AM, Sergey Radionov <rsatom at gmail.com> wrote:
> 2012/8/29 Rafaël Carré <funman at videolan.org>:
>> ---
>>   contrib/src/main.mak |    1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/contrib/src/main.mak b/contrib/src/main.mak
>> index e99281d..2cb7e12 100644
>> --- a/contrib/src/main.mak
>> +++ b/contrib/src/main.mak
>> @@ -163,6 +163,7 @@ endif
>>
>>   cppcheck = $(shell $(CC) $(CFLAGS) -E -dM - < /dev/null | grep -E $(1))
>>
>> +EXTRA_CFLAGS += -g
>>   EXTRA_CFLAGS += -I$(PREFIX)/include
>>   CPPFLAGS := $(CPPFLAGS) $(EXTRA_CFLAGS)
>>   CFLAGS := $(CFLAGS) $(EXTRA_CFLAGS)
>> --
>> 1.7.10.4
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> http://mailman.videolan.org/listinfo/vlc-devel
> How about -O0 option for vlc debug builds? It will be very usefull, at
> least for me.
>
Yeah, I think it should be only for debug builds as well. Otherwise it 
just takes up space on the user's machine on release builds.

Regards,
         Edward Wang



More information about the vlc-devel mailing list