[exim-dev] HP-UX 11 patch

Top Page
Delete this message
Reply to this message
Author: Michael Haardt
Date:  
To: exim-dev
Subject: [exim-dev] HP-UX 11 patch
I just built a recent snapshot with gcc 4.1.0 for HP-UX 11 and it needs
a small patch that shouldn't break anything for previous releases.

Michael

PS: If anybody tries to upgrade from gcc 3.3.1 to 4.1.0 and experiences
    an internal compiler error: Upgrade to 3.4.5 first, then to 4.1.0.
----------------------------------------------------------------------
--- OS/Makefile-HP-UX.orig    2006-03-16 18:21:30.000000000 +0100
+++ OS/Makefile-HP-UX    2006-03-16 18:22:06.000000000 +0100
@@ -9,8 +9,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