HPUX 10 patch.

pull/50/head
Bruce Momjian 29 years ago
parent 11b4a9689d
commit f0b9b2152e
  1. 13
      src/makefiles/Makefile.hpux

@ -1,7 +1,10 @@
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:= -lc $(LDFLAGS)
endif
#HPUX_VERS:= $(shell uname -r)
#HPUX_MAJOR= ${HPUX_VERS:R:E}
#HPUX_MINOR= ${HPUX_VERS:E}
# Does anyone use this stuff?
#ifdef ENFORCE_ALIGNMENT
# CFLAGS+= -DNOFIXADE
#else
@ -17,10 +20,6 @@
# endif
# endif
#endif
# HP-UX 10 has a select() in libcurses, so we need to get the libc version first
#ifeq ($(HPUX_MAJOR), 10)
# LDFLAGS:= -lc $(LDFLAGS)
#endif
%.sl: %.o
$(LD) -b -o $@ $<

Loading…
Cancel
Save