summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/port/hpux.h1
-rw-r--r--src/makefiles/Makefile.hpux2
2 files changed, 2 insertions, 1 deletions
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?