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

Rafaël Carré funman at videolan.org
Wed Aug 29 14:31:56 CEST 2012


Le 29/08/2012 14:30, Sergey Radionov a écrit :
> 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

> How about -O0 option for vlc debug builds? It will be very usefull, at
> least for me.

-O0 would not work for release builds, and -g doesn't affect releases.



More information about the vlc-devel mailing list