X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/dfe7d917154afce0e4016a60f142bd540677930f..46a36afae41f63de654269c8a0b7cf5852a85a14:/src/OS/Makefile-SunOS5 diff --git a/src/OS/Makefile-SunOS5 b/src/OS/Makefile-SunOS5 index 351b43ad1..e8b0d9506 100644 --- a/src/OS/Makefile-SunOS5 +++ b/src/OS/Makefile-SunOS5 @@ -1,6 +1,6 @@ # Exim: OS-specific make file for SunOS5 - -CFLAGS=-O +# Copyright (c) The Exim Maintainers 2020 +# SPDX-License-Identifier: GPL-2.0-or-later HAVE_ICONV=yes @@ -19,6 +19,8 @@ XINCLUDE=-I$(X11)/include XLFLAGS=-L$(X11)/lib -R$(X11)/lib X11LIB=$(X11)/lib -os.o: setenv.c +OS_C_INCLUDES=setenv.c +CFLAGS += -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ +CFLAGS += -DNO_EXECINFO # End