Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit41e6e36

Browse files
committed
When building shared libraries on HPUX with gcc, forcibly include -lgcc
to ensure any needed compiler support routines are included. This isarguably appropriate on *every* gcc platform, but for the moment I'll takethe conservative approach of only doing it on a platform where it'sprovably useful. Per complaint from Heiko Lehmann, 13-Feb-03, as wellas personal experience --- contrib/pgstattuple has never worked for me,but it does now.
1 parent6f16905 commit41e6e36

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/Makefile.shlib

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1998, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.71 2003/09/27 19:35:32 tgl Exp $
9+
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.72 2003/10/20 01:34:33 tgl Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -128,6 +128,9 @@ endif
128128
ifeq ($(PORTNAME), hpux)
129129
shlib:= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
130130
LINK.shared= $(LD) +h $(soname) -b +b $(libdir)
131+
ifeq ($(GCC), yes)
132+
SHLIB_LINK+= `$(CC) -print-libgcc-file-name`
133+
endif
131134
endif
132135

133136
ifeq ($(PORTNAME), irix5)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp