[ES40-developers] Patch: Makefile LDOPTIONFLAGS sync with CDEBUGFLAGS
Status: Alpha
Brought to you by:
iamcamiel
From: brian w. <bdw...@in...> - 2008-02-19 02:44:14
|
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) |