Fix string_copy() macro to not multiple-eval args. Bug 2603
[users/heiko/exim.git] / src / OS / Makefile-OpenBSD
index 05d0b3d44aa73e2549d926f0e60662c3bc2e17e5..8f408793feccc8ca5f538dea83821df91e955666 100644 (file)
@@ -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 2020
 
 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