Fix segfault in stdio with non-SMTP MIME ACL.
[exim.git] / src / OS / Makefile-NetBSD
index 0f00789cb35b2d43c27991b2ce3e7ddf18fe3e93..35d03a24a7722fc23ce93c48636953098474d9ee 100644 (file)
@@ -1,13 +1,13 @@
-# $Cambridge: exim/src/OS/Makefile-NetBSD,v 1.1 2004/10/06 15:07:39 ph10 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