Fix non-WITH_CONTENT_SCAN build (2)
[exim.git] / src / OS / Makefile-SunOS5
index ebe43677989bed1b105f163135369e794c4a9b7a..d07adcff4dd6ea9fd406e8c62152790b1854d108 100644 (file)
@@ -1,8 +1,5 @@
-# $Cambridge: exim/src/OS/Makefile-SunOS5,v 1.2 2005/05/23 16:58:55 fanf2 Exp $
-
 # Exim: OS-specific make file for SunOS5
-
-CFLAGS=-O
+# Copyright (c) The Exim Maintainers 2020
 
 HAVE_ICONV=yes
 
@@ -21,4 +18,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