Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

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

+6-1
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)