X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3634fc257bd0667daef14d72005cd87c735bbb24..e94c0fe42ba93c2643d44046f2f3a269bae41290:/src/OS/Makefile-OpenBSD diff --git a/src/OS/Makefile-OpenBSD b/src/OS/Makefile-OpenBSD index 1022abbdd..b6c374cec 100644 --- a/src/OS/Makefile-OpenBSD +++ b/src/OS/Makefile-OpenBSD @@ -1,10 +1,13 @@ # Exim: OS-specific make file for OpenBSD +# Copyright (c) The Exim Maintainers 2022 - 2023 +# SPDX-License-Identifier: GPL-2.0-or-later CHOWN_COMMAND=/usr/sbin/chown CHGRP_COMMAND=/usr/sbin/chgrp CHMOD_COMMAND=/bin/chmod -CFLAGS=-O2 -Wall +CC=cc +CFLAGS=-O2 -Wall -Wno-parentheses -Wno-self-assign -Wno-logical-op-parentheses LIBS=-lm @@ -21,8 +24,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