add support for automatic gdb launching when RC_DEBUG is defined to 1 to ease bug reporting / information gathering
This commit is contained in:
@@ -33,6 +33,7 @@ CLEANFILES+= ${ALL_LINKS}
|
||||
LDFLAGS+= -L../librc -L../libeinfo
|
||||
LDADD+= -lutil -lrc -leinfo
|
||||
#CFLAGS+= -ggdb
|
||||
CPPFLAGS+= $(shell test "x$(DEBUG)" = x && echo -DRC_DEBUG=0 || echo -DRC_DEBUG=1)
|
||||
LDFLAGS+= $(shell test -d ../../.git && echo -Wl,--rpath=../librc -Wl,--rpath=../libeinfo)
|
||||
|
||||
MK= ../../mk
|
||||
|
Reference in New Issue
Block a user