Define _ISOC99_SOURCE in exim.h
[exim.git] / src / OS / Makefile-HP-UX
index a28c7ed31284e7a4d0fb26fca75b2c3d0e6c7886..073d67abaab276da1e3b73e54d0a698cf2ab3f94 100644 (file)
@@ -1,5 +1,3 @@
-# $Cambridge: exim/src/OS/Makefile-HP-UX,v 1.4 2005/08/08 10:48:27 ph10 Exp $
-
 # Exim: OS-specific make file for HP-UX later than 9
 
 # HP ANSI C compiler
@@ -9,8 +7,9 @@
 # there have been some problems reported with this compiler with +O2 set.
 
 # gcc
-CFLAGS=-O -Wl,-z -D_XOPEN_SOURCE_EXTENDED
-
+CFLAGS=-O -D_XOPEN_SOURCE_EXTENDED
+LDFLAGS=-Wl,-z
+LIBS=-lm
 
 BASENAME_COMMAND=/bin/basename
 HAVE_ICONV=yes