aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-01-13 04:38:30 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-01-13 04:38:30 +0000
commit6380e70f07c6826aa57096b5fc2e1a47739c3bdc (patch)
tree32c7089506c2c54d974448ab1716247f5c4ab6bc /src
parent602b0d0c1c9e88a8e5892c9ef5499dea027bc16b (diff)
downloadpostgresql-6380e70f07c6826aa57096b5fc2e1a47739c3bdc.tar.gz
postgresql-6380e70f07c6826aa57096b5fc2e1a47739c3bdc.zip
A minor patch for HP/UX 10 vs 9
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/Makefile.hpux7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/makefiles/Makefile.hpux b/src/makefiles/Makefile.hpux
index 98c2ed76cc4..bbe304539f5 100644
--- a/src/makefiles/Makefile.hpux
+++ b/src/makefiles/Makefile.hpux
@@ -2,6 +2,12 @@ HPUX_MAJOR= $(shell uname -r|sed 's/^[^.]*\.\([^.]*\).*/\1/')
# HP-UX 10 has a select() in libcurses, so we need to get the libc version first
ifeq ($(HPUX_MAJOR), 10)
LDFLAGS:= -Wl,-E -lc $(LDFLAGS)
+ CFLAGS+= -DUSE_POSIX_SIGNALS
+endif
+
+# HP-UX 09 needs libc before libPW, so we need to get the libc version first
+ifeq ($(HPUX_MAJOR), 09)
+ LDFLAGS:= -Wl,-E $(LDFLAGS:-lPW=-lc -lPW)
endif
# Does anyone use this stuff?
@@ -23,4 +29,3 @@ endif
%.sl: %.o
$(LD) -b -o $@ $<
-