Re: [ES40-developers] Patch: Makefile LDOPTIONFLAGS sync with CDEBUGFLAGS
Status: Alpha
Brought to you by:
iamcamiel
From: Camiel V. <iam...@gm...> - 2008-02-20 20:23:31
|
Hi Brian, I applied this one as well. Camiel. On Feb 19, 2008 3:40 AM, brian wheeler <bdw...@in...> wrote: > This quick patch makes sure that the ld command gets -g if -g was > defined in the CDEBUGFLAGS. > > Index: Makefile > =================================================================== > RCS file: /cvsroot/es40/es40/src/Makefile,v > retrieving revision 1.24 > diff -u -w -r1.24 Makefile > --- Makefile 16 Feb 2008 17:05:07 -0000 1.24 > +++ Makefile 19 Feb 2008 02:36:49 -0000 > @@ -164,6 +164,10 @@ > LDOPTIONFLAGS += -lpcap > endif > > +ifneq ($(findstring "-g",$(CDEBUGFLAGS)),"") > +LDOPTIONFLAGS += -g > +endif > + > > CFLAGS = -I. -I.. \ > $(CDEBUGFLAGS) $(CTUNINGFLAGS) $(OPTIONS) $(COPTIONFLAGS) > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > |