X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/61ec970df30325dbcd8c9d0f0e431dc793126656..ee549a2ed04164407f4f897be3bf545f32579c5c:/src/OS/Makefile-SunOS5?ds=inline diff --git a/src/OS/Makefile-SunOS5 b/src/OS/Makefile-SunOS5 index 1afef4d23..3e8523f4c 100644 --- a/src/OS/Makefile-SunOS5 +++ b/src/OS/Makefile-SunOS5 @@ -1,8 +1,6 @@ -# $Cambridge: exim/src/OS/Makefile-SunOS5,v 1.1 2004/10/06 15:07:39 ph10 Exp $ - # Exim: OS-specific make file for SunOS5 - -CFLAGS=-O +# Copyright (c) The Exim Maintainers 2020 - 2023 +# SPDX-License-Identifier: GPL-2.0-or-later HAVE_ICONV=yes @@ -10,7 +8,7 @@ BASENAME_COMMAND=look_for_it HOSTNAME_COMMAND=look_for_it RANLIB=@true -LIBS=-lsocket -lnsl -lkstat +LIBS=-lsocket -lnsl -lkstat -lm LIBRESOLV=-lresolv EXIWHAT_MULTIKILL_CMD=pkill @@ -21,4 +19,8 @@ XINCLUDE=-I$(X11)/include XLFLAGS=-L$(X11)/lib -R$(X11)/lib X11LIB=$(X11)/lib +OS_C_INCLUDES=setenv.c +CFLAGS += -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ +CFLAGS += -DNO_EXECINFO + # End