From 4b9fb266481783aabfa5afca9f6081084bf5f1e1 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 29 Sep 1997 03:27:18 +0000 Subject: [PATCH] HPUX patches from Vladimir Turin. --- src/include/port/hpux.h | 1 + src/makefiles/Makefile.hpux | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/port/hpux.h b/src/include/port/hpux.h index 68690cd5cdb..b78b43fbf85 100644 --- a/src/include/port/hpux.h +++ b/src/include/port/hpux.h @@ -1,5 +1,6 @@ #define JMP_BUF #define USE_POSIX_TIME +#define USE_POSIX_SIGNALS #define HAS_TEST_AND_SET typedef struct { diff --git a/src/makefiles/Makefile.hpux b/src/makefiles/Makefile.hpux index 632bb6e75e4..98c2ed76cc4 100644 --- a/src/makefiles/Makefile.hpux +++ b/src/makefiles/Makefile.hpux @@ -1,7 +1,7 @@ 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) + LDFLAGS:= -Wl,-E -lc $(LDFLAGS) endif # Does anyone use this stuff? -- 2.39.5