summaryrefslogtreecommitdiff
path: root/src/OS/Makefile-CYGWIN
diff options
context:
space:
mode:
Diffstat (limited to 'src/OS/Makefile-CYGWIN')
-rw-r--r--src/OS/Makefile-CYGWIN20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/OS/Makefile-CYGWIN b/src/OS/Makefile-CYGWIN
index 774fa4f33..23981d479 100644
--- a/src/OS/Makefile-CYGWIN
+++ b/src/OS/Makefile-CYGWIN
@@ -2,8 +2,10 @@
# This file provided by Pierre A. Humblet <Pierre.Humblet@ieee.org>
+HAVE_IPV6 = yes
HAVE_ICONV = yes
-CFLAGS= -g -Wall -O2
+# Use c99 to have %z
+CFLAGS= -g -Wall -std=c99 -U __STRICT_ANSI__
LIBS= -lcrypt -lresolv
LIBS_EXIM= -liconv
EXIWHAT_PS_ARG=-as
@@ -98,17 +100,15 @@ ZCAT_COMMAND=/usr/bin/zcat
SUPPORT_PAM=yes
CFLAGS += -DINCLUDE_PAM -I ../pam -I ../../pam
-APPENDFILE_MODE = 0644 # default if no ntsec
-APPENDFILE_DIRECTORY_MODE = 0777
-APPENDFILE_LOCKFILE_MODE = 0666
-EXIMDB_DIRECTORY_MODE = 0777
+# All modes are in octal and must start with 0
+EXIMDB_DIRECTORY_MODE = 01777
EXIMDB_MODE = 0666
EXIMDB_LOCKFILE_MODE = 0666
-INPUT_DIRECTORY_MODE = 0777
-LOG_DIRECTORY_MODE = 0777
+INPUT_DIRECTORY_MODE = 01777
+LOG_DIRECTORY_MODE = 01777
LOG_MODE = 0666
-MSGLOG_DIRECTORY_MODE = 0777
-SPOOL_DIRECTORY_MODE = 0777
-SPOOL_MODE = 0666
+MSGLOG_DIRECTORY_MODE = 01777
+SPOOL_DIRECTORY_MODE = 01777
+SPOOL_MODE = 0600
# End