Commit 6380e70f authored by Marc G. Fournier's avatar Marc G. Fournier

A minor patch for HP/UX 10 vs 9

parent 602b0d0c
...@@ -2,6 +2,12 @@ HPUX_MAJOR= $(shell uname -r|sed 's/^[^.]*\.\([^.]*\).*/\1/') ...@@ -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 # HP-UX 10 has a select() in libcurses, so we need to get the libc version first
ifeq ($(HPUX_MAJOR), 10) ifeq ($(HPUX_MAJOR), 10)
LDFLAGS:= -Wl,-E -lc $(LDFLAGS) 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 endif
# Does anyone use this stuff? # Does anyone use this stuff?
...@@ -23,4 +29,3 @@ endif ...@@ -23,4 +29,3 @@ endif
%.sl: %.o %.sl: %.o
$(LD) -b -o $@ $< $(LD) -b -o $@ $<
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment