HP-UX configuration update.
[exim.git] / src / OS / Makefile-HP-UX
index d0c29f9f9956d917e52e4dc81721937afc674613..cbac33ac186f31938e4085e7b18d4c701a3a547c 100644 (file)
@@ -1,13 +1,17 @@
-# $Cambridge: exim/src/OS/Makefile-HP-UX,v 1.3 2005/08/08 10:32:58 ph10 Exp $
+# $Cambridge: exim/src/OS/Makefile-HP-UX,v 1.5 2006/03/17 09:39:00 ph10 Exp $
 
 # Exim: OS-specific make file for HP-UX later than 9
 
 # HP ANSI C compiler
 #CC=cc
 #CFLAGS=+O2 +Onolimit -z -D_XOPEN_SOURCE_EXTENDED
-# gcc
-CFLAGS=-O -Wl,-z -D_XOPEN_SOURCE_EXTENDED
+# Users of the A.06.00 compiler might need to use +O1 rather than +O2 as
+# there have been some problems reported with this compiler with +O2 set.
 
+# gcc
+CFLAGS=-O -D_XOPEN_SOURCE_EXTENDED
+LDFLAGS=-Wl,-z
+LIBS=-lm
 
 BASENAME_COMMAND=/bin/basename
 HAVE_ICONV=yes