X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/61ec970df30325dbcd8c9d0f0e431dc793126656..ef57b25bfa7623c3f8a8e65f927165c4ddc7c43b:/src/OS/Makefile-OpenBSD diff --git a/src/OS/Makefile-OpenBSD b/src/OS/Makefile-OpenBSD index 05d0b3d44..7c451e2cc 100644 --- a/src/OS/Makefile-OpenBSD +++ b/src/OS/Makefile-OpenBSD @@ -1,10 +1,14 @@ -# $Cambridge: exim/src/OS/Makefile-OpenBSD,v 1.1 2004/10/06 15:07:39 ph10 Exp $ - # Exim: OS-specific make file for OpenBSD +# Copyright (c) The Exim Maintainers 2022 CHOWN_COMMAND=/usr/sbin/chown CHGRP_COMMAND=/usr/sbin/chgrp -CFLAGS=-O2 -Wall +CHMOD_COMMAND=/bin/chmod + +CC=cc +CFLAGS=-O2 -Wall -Wno-parentheses -Wno-self-assign -Wno-logical-op-parentheses + +LIBS=-lm HAVE_SA_LEN=YES @@ -19,8 +23,9 @@ EXIWHAT_EGREP_ARG='/exim( |$$)' EXIWHAT_KILL_SIGNAL=-USR1 HAVE_IPV6=YES +CFLAGS += -DNO_EXECINFO -# OpenBSD always ships with Berkeley DB -USE_DB=yes +# OpenBSD ships with a too-old Berkeley DB. NDBM is the default if we don't specify one. +#USE_DB=yes # End