Fix GNU/Hurd build. Bug 3044
[exim.git] / src / OS / Makefile-SunOS5
index e60a6c0880992aea76120b3e4a3b523343c14d64..3e8523f4c345d0490afb5ce2adeba779b197eed0 100644 (file)
@@ -1,6 +1,6 @@
 # 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
 
@@ -19,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