postgres/src/template
Tom Lane 291a957745 Split the LDFLAGS make variable into two parts: LDFLAGS is now used for
linking both executables and shared libraries, and we add on LDFLAGS_EX when
linking executables or LDFLAGS_SL when linking shared libraries.  This
provides a significantly cleaner way of dealing with link-time switches than
the former behavior.  Also, make sure that the various platform-specific
%.so: %.o rules incorporate LDFLAGS and LDFLAGS_SL; most of them missed that
before.  (I did not add these variables for the platforms that invoke $(LD)
directly, however.  It's not clear if we can do that safely, since for the
most part we assume these variables use CC command-line syntax.)

Per gripe from Aaron Swenson and subsequent investigation.
2010-07-05 18:54:38 +00:00
..
aix Tweak configure to attempt to add -qnoansialias to CFLAGS whenever running 2009-02-11 20:02:40 +00:00
bsdi Add new auto-detection of thread flags. 2004-04-23 18:15:55 +00:00
cygwin Split the LDFLAGS make variable into two parts: LDFLAGS is now used for 2010-07-05 18:54:38 +00:00
darwin Use SYSV semaphores rather than POSIX on Darwin >= 6.0 (i.e., OS X 10.2 2007-09-26 00:32:46 +00:00
dgux Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
freebsd Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
hpux Allow augmenting CPPFLAGS from the configure command line. This generally 2006-12-12 19:43:19 +00:00
irix Rename irix5 port to irix. 2004-05-19 21:37:43 +00:00
linux Support for Sun Studio compiler on Linux 2008-10-29 16:06:47 +00:00
netbsd Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
nextstep Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
openbsd Remove -pipe from compiles. 2003-10-09 22:55:46 +00:00
osf Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
sco This centralizes the optimization defaults into configure.in, rather 2003-10-09 03:20:34 +00:00
solaris Move forgotten comment closer to where it matters. 2008-10-29 16:23:07 +00:00
sunos4 SUNOS4_CC -> SUNOS_CC. 2005-07-30 03:07:42 +00:00
svr4 This centralizes the optimization defaults into configure.in, rather 2003-10-09 03:20:34 +00:00
ultrix4 This centralizes the optimization defaults into configure.in, rather 2003-10-09 03:20:34 +00:00
univel Don't bother adding to cflags/cppflags, just set them because configure 2004-12-02 18:11:40 +00:00
unixware With the native compiler on Unixware, disable optimization if 2007-07-16 17:38:48 +00:00
win32 Split the LDFLAGS make variable into two parts: LDFLAGS is now used for 2010-07-05 18:54:38 +00:00