Fix NULL pointer deref when there is no message data whatsoever
[users/jgh/exim.git] / src / OS / Makefile-NetBSD
index 0f00789cb35b2d43c27991b2ce3e7ddf18fe3e93..97f9a6d21b753ee3548a05d9bc476f87c81a47e0 100644 (file)
@@ -1,13 +1,15 @@
-# $Cambridge: exim/src/OS/Makefile-NetBSD,v 1.1 2004/10/06 15:07:39 ph10 Exp $
+# $Cambridge: exim/src/OS/Makefile-NetBSD,v 1.4 2008/07/25 20:39:55 fanf2 Exp $
 
 # Exim: OS-specific make file for NetBSD (ELF object format)
 
 CHOWN_COMMAND=/usr/sbin/chown
-CFLAGS=-O
+CHMOD_COMMAND=/bin/chmod
+
+CFLAGS?=-O2
 
 HAVE_SA_LEN=YES
 HAVE_IPV6=YES
-LIBS=-lcrypt
+LIBS=-lcrypt -lm
 
 X11=/usr/X11R6
 XINCLUDE=-I$(X11)/include