summaryrefslogtreecommitdiff
path: root/src/OS
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2005-06-17 09:02:40 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2005-06-17 09:02:40 +0000
commit5bd022fe5bf43d79ed34753f637775defbad16a1 (patch)
treeae907e133f146afc47a37c6ec82b4fef574bc9b9 /src/OS
parent2740a2ca3998dcd03eee6a8361f05f48df7f2c29 (diff)
Applied Michael Haardt's HP-UX patch.
Diffstat (limited to 'src/OS')
-rw-r--r--src/OS/Makefile-HP-UX9
-rw-r--r--src/OS/os.h-HP-UX4
2 files changed, 9 insertions, 4 deletions
diff --git a/src/OS/Makefile-HP-UX b/src/OS/Makefile-HP-UX
index a5d5374c3..7b77b1002 100644
--- a/src/OS/Makefile-HP-UX
+++ b/src/OS/Makefile-HP-UX
@@ -1,8 +1,13 @@
-# $Cambridge: exim/src/OS/Makefile-HP-UX,v 1.1 2004/10/06 15:07:39 ph10 Exp $
+# $Cambridge: exim/src/OS/Makefile-HP-UX,v 1.2 2005/06/17 09:02:40 ph10 Exp $
# Exim: OS-specific make file for HP-UX later than 9
-CFLAGS=-O
+# HP ANSI C compiler
+#CC=cc
+#CFLAGS=+O1 +Onolimit -z -D_XOPEN_SOURCE_EXTENDED
+# gcc
+CFLAGS=-O -Wl,-z -D_XOPEN_SOURCE_EXTENDED
+
BASENAME_COMMAND=/bin/basename
HAVE_ICONV=yes
HAVE_SETRESUID=YES
diff --git a/src/OS/os.h-HP-UX b/src/OS/os.h-HP-UX
index 027cf9230..20408151e 100644
--- a/src/OS/os.h-HP-UX
+++ b/src/OS/os.h-HP-UX
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/OS/os.h-HP-UX,v 1.2 2005/05/03 14:22:12 ph10 Exp $ */
+/* $Cambridge: exim/src/OS/os.h-HP-UX,v 1.3 2005/06/17 09:02:40 ph10 Exp $ */
/* Exim: OS-specific C header file for HP-UX versions greater than 9 */
@@ -9,7 +9,7 @@
#define HAVE_DEV_KMEM
#define LOAD_AVG_TYPE double
#define LOAD_AVG_SYMBOL "avenrun"
-#define KERNEL_PATH "/hp-ux"
+#define KERNEL_PATH "/stand/vmunix"
#define FSCALE 1.0
#define HAVE_SYS_STATVFS_H