Error-check scan dir tidying
[exim.git] / src / OS / Makefile-SunOS5
index 351b43ad1af68045f145d0a2d06d150131725aa5..3b436f4bf022c51f66ae2f9382e7e6b55c95ac6c 100644 (file)
@@ -1,6 +1,5 @@
 # Exim: OS-specific make file for SunOS5
-
-CFLAGS=-O
+# Copyright (c) The Exim Maintainers 2020
 
 HAVE_ICONV=yes
 
@@ -19,6 +18,7 @@ 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__
 
 # End