8000 A minor patch for HP/UX 10 vs 9 · postgrespro/postgres_cluster@6380e70 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6380e70

Browse files
committed
A minor patch for HP/UX 10 vs 9
1 parent 602b0d0 commit 6380e70

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/makefiles/Makefile.hpux

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ HPUX_MAJOR= $(shell uname -r|sed 's/^[^.]*\.\([^.]*\).*/\1/')
22
# HP-UX 10 has a select() in libcurses, so we need to get the libc version first
33
ifeq ($(HPUX_MAJOR), 10)
44
LDFLAGS:= -Wl,-E -lc $(LDFLAGS)
5+
CFLAGS+= -DUSE_POSIX_SIGNALS
6+
endif
7+
8+
# HP-UX 09 needs libc before libPW, so we need to get the libc version first
9+
ifeq ($(HPUX_MAJOR), 09)
10+
LDFLAGS:= -Wl,-E $(LDFLAGS:-lPW=-lc -lPW)
511
endif
612

713
# Does anyone use this stuff?
@@ -23,4 +29,3 @@ endif
2329

2430
%.sl: %.o
2531
$(LD) -b -o $@ $<
26-

0 commit comments

Comments
 (0)
0