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

Commit f0b9b21

Browse files
committed
HPUX 10 patch.
1 parent 11b4a96 commit f0b9b21

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/makefiles/Makefile.hpux

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
HPUX_MAJOR= $(shell uname -r|sed 's/^[^.]*\.\([^.]*\).*/\1/')
2+
# HP-UX 10 has a select() in libcurses, so we need to get the libc version first
3+
ifeq ($(HPUX_MAJOR), 10)
4+
LDFLAGS:= -lc $(LDFLAGS)
5+
endif
16

2-
#HPUX_VERS:= $(shell uname -r)
3-
#HPUX_MAJOR= ${HPUX_VERS:R:E}
4-
#HPUX_MINOR= ${HPUX_VERS:E}
7+
# Does anyone use this stuff?
58
#ifdef ENFORCE_ALIGNMENT
69
# CFLAGS+= -DNOFIXADE
710
#else
@@ -17,10 +20,6 @@
1720
# endif
1821
# endif
1922
#endif
20-
# HP-UX 10 has a select() in libcurses, so we need to get the libc version first
21-
#ifeq ($(HPUX_MAJOR), 10)
22-
# LDFLAGS:= -lc $(LDFLAGS)
23-
#endif
2423

2524
%.sl: %.o
2625
$(LD) -b -o $@ $<

0 commit comments

Comments
 (0)