From fcce2dc29374d1cf3aaeea291bfeec168a09c33b Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 8 Mar 2005 15:42:27 +0000 Subject: fixed a bug: on internally-generated messages, the HOSTNAME was not set --- Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 44134dad..e6e42f3b 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,19 @@ CC= gcc #CFLAGS= -g -DSYSV -Wall -LDFLAGS= -g -Wall -fno-omit-frame-pointer -CFLAGS= -DSYSV -g -Wall -fno-omit-frame-pointer -#CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce +# Add the -DMTRACE macro if you would like to use mtrace() +# to hunt for memory leaks +# next 2 lines are debug settings +#LDFLAGS= -g -Wall -fno-omit-frame-pointer +#CFLAGS= -DSYSV -g -Wall -fno-omit-frame-pointer + +# the next two lines are essentially the same, but -DWITH_DB +# enables the MySQL code. By default, that one is commented out +# change the comment chars to activate it if you need MySQL! +# In this case, also look down further to uncomment the libs +CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce #CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -#LDFLAGS= -s +LDFLAGS= -s INSTALL = install BINDIR = /usr/sbin -- cgit