From bd34df63613a368698dca3465a2f05273e120c5f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 22 Mar 2008 23:02:30 +0000 Subject: add support for automatic gdb launching when RC_DEBUG is defined to 1 to ease bug reporting / information gathering --- src/rc/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rc/Makefile') diff --git a/src/rc/Makefile b/src/rc/Makefile index e73cd71..2779a44 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -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 -- cgit v1.2.3