summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-03-08 15:42:27 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-03-08 15:42:27 +0000
commitfcce2dc29374d1cf3aaeea291bfeec168a09c33b (patch)
tree48d89d1c8dfc85b491e6087cf64f16c80e003e09 /Makefile
parentdd3279ef78b95df70c1315bd39be68964c1771c5 (diff)
downloadrsyslog-fcce2dc29374d1cf3aaeea291bfeec168a09c33b.tar.gz
rsyslog-fcce2dc29374d1cf3aaeea291bfeec168a09c33b.tar.xz
rsyslog-fcce2dc29374d1cf3aaeea291bfeec168a09c33b.zip
fixed a bug: on internally-generated messages, the HOSTNAME was not set
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 12 insertions, 4 deletions
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