summaryrefslogtreecommitdiff
path: root/src/Makefile.shlib
diff options
context:
space:
mode:
authorBruce Momjian2000-05-16 20:48:52 +0000
committerBruce Momjian2000-05-16 20:48:52 +0000
commita47e20b049a293d47a0f22e96447a38b717327a5 (patch)
treede389d919b4dcabb455d8c8bd6fa1c49be39ba0b /src/Makefile.shlib
parent5128d145a8f04bdee6ebf73314437b36871a847b (diff)
Several compilation and run-time problems occur when building on SGI
IRIX systems using the native compilers. A summary is: - Various files use "//" as a comment delimiter in c files. - Problems caused by assuming "char" is signed. cash.in: building -signed the rules regression test fails as described in FAQ_QNX4. If CHAR_MAX is "255U" then ((signed char)CHAR_MAX) is -1. postmaster.c: random number regression test failed without this change. - Some generic build issues and warning message cleanup. David Kaelbling
Diffstat (limited to 'src/Makefile.shlib')
-rw-r--r--src/Makefile.shlib6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 8a15538d880..c12372da54d 100644
--- a/src/Makefile.shlib
+++ b/src/Makefile.shlib
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.19 2000/03/09 17:07:32 momjian Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.20 2000/05/16 20:48:48 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -137,8 +137,8 @@ endif
ifeq ($(PORTNAME), irix5)
install-shlib-dep := install-shlib
- shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
- LDFLAGS_SL := -shared -rpath $(LIBDIR)
+ shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
+ LDFLAGS_SL := -shared -rpath $(LIBDIR) -set_version sgi$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
CFLAGS += $(CFLAGS_SL)
endif