When building shared libraries on HPUX with gcc, forcibly include -lgcc

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 41e6e3671957d356b06ad930cfd9231acc9cfe16
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-10-20T01:34:33Z
Releases: 7.4.1
When building shared libraries on HPUX with gcc, forcibly include -lgcc
to ensure any needed compiler support routines are included.  This is
arguably appropriate on *every* gcc platform, but for the moment I'll take
the conservative approach of only doing it on a platform where it's
provably useful.  Per complaint from Heiko Lehmann, 13-Feb-03, as well
as personal experience --- contrib/pgstattuple has never worked for me,
but it does now.

Files

PathChange+/−
src/Makefile.shlib modified +4 −1