[vlc-devel] [PATCH] Build contribs with debugging symbols
Sergey Radionov
rsatom at gmail.com
Wed Aug 29 15:18:15 CEST 2012
2012/8/29 Rafaël Carré <funman at videolan.org>:
> Le 29/08/2012 14:54, Sergey Radionov a écrit :
>> 2012/8/29 Rafaël Carré <funman at videolan.org>:
>>> 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.
>> No, no. My question was not relative to your patch, It was just
>> request and only for debug vlc builds.
>
> In this case, ./configure CFLAGS="-O0 -g" CXXFLAGS="-O0 -g" should work
yes, if you have time and configured build environment - last under
windows sometimes is big problem.
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list