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

armand bendanan armand.bendanan at free.fr
Thu Aug 30 14:25:18 CEST 2012


Yes, this fix is ok

> -----Original Message-----
> From: vlc-devel-bounces at videolan.org [mailto:vlc-devel-
> bounces at videolan.org] On Behalf Of armand bendanan
> Sent: jeudi 30 août 2012 14:10
> To: 'Mailing list for VLC media player developers'
> Subject: Re: [vlc-devel] [PATCH] Build contribs with debugging symbols
> 
> 
> 
> > -----Original Message-----
> > From: vlc-devel-bounces at videolan.org [mailto:vlc-devel-
> > bounces at videolan.org] On Behalf Of Rafaël Carré
> > Sent: jeudi 30 août 2012 14:03
> > To: Mailing list for VLC media player developers
> > Subject: Re: [vlc-devel] [PATCH] Build contribs with debugging symbols
> >
> > Hello,
> >
> > Le 2012-08-30 12:37, armand bendanan a écrit :
> > > Hello,
> > >
> > > This break the libgcrypt compile in contrib., as:
> > >
> > > /bin/bash ../libtool --mode=compile --tag=RC i686-w64-mingw32-windres
> > > -DHAVE_CONFIG_H -I. -I..    -g
> > > -I/home/share/projets/vlc/workspace/vlc_pcneslog4_git_buildconfig/co
> > > nt
> > > rib/i6 86-w64-mingw32/include -i "versioninfo.rc" -o "versioninfo.lo"
> > > libtool: compile:  i686-w64-mingw32-windres -DHAVE_CONFIG_H -I. -I..
> > > -g
> > > -I/home/share/projets/vlc/workspace/vlc_pcneslog4_git_buildconfig/co
> > > nt
> > > rib/i6 86-w64-mingw32/include -i versioninfo.rc -o versioninfo.o
> >
> > I think gcrypt uses CPPFLAGS for this tool (for -D and -I), we should
> > add -g only to CFLAGS and CXXFLAGS.
> >
> > Can you try this diff: ?
> 
> Yes I will, but it will take hours, I will put the results here
> 
> >
> >
> > diff --git a/contrib/src/main.mak b/contrib/src/main.mak index
> > 2cb7e12..00166f9 100644
> > --- a/contrib/src/main.mak
> > +++ b/contrib/src/main.mak
> > @@ -163,11 +163,10 @@ 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) -CXXFLAGS := $(CXXFLAGS) $(EXTRA_CFLAGS)
> > +CFLAGS := $(CFLAGS) $(EXTRA_CFLAGS) -g CXXFLAGS := $(CXXFLAGS)
> > +$(EXTRA_CFLAGS) -g
> >  EXTRA_LDFLAGS += -L$(PREFIX)/lib
> >  LDFLAGS := $(LDFLAGS) $(EXTRA_LDFLAGS)  # Do not export those! Use
> > HOSTVARS.
> >
> 
> 
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
> -----
> Aucun virus trouvé dans ce message.
> Analyse effectuée par AVG - www.avg.fr
> Version: 2012.0.2197 / Base de données virale: 2437/5234 - Date:
> 29/08/2012




More information about the vlc-devel mailing list