Fix $mime_part_count for non-mime message on multi-message connection. Bug 2537
[users/heiko/exim.git] / src / OS / Makefile-SunOS5
index 351b43ad1af68045f145d0a2d06d150131725aa5..557c031fd41011424ee13253b9a2cf5d08d4bee0 100644 (file)
@@ -1,7 +1,5 @@
 # Exim: OS-specific make file for SunOS5
 
-CFLAGS=-O
-
 HAVE_ICONV=yes
 
 BASENAME_COMMAND=look_for_it
@@ -19,6 +17,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