summaryrefslogtreecommitdiff
path: root/src/template/cygwin
AgeCommit message (Collapse)Author
2014-06-11Have configuration templates augment, not replace, LDFLAGS.Noah Misch
This preserves user-specified LDFLAGS; we already kept user-specified CFLAGS and CPPFLAGS. Given the shortage of complaints and the fact that any problem caused is likely to appear at build time, no back-patch. Dag-Erling Smørgrav and Noah Misch
2014-02-16Revert to using --enable-auto-import in Cygwin builds.Tom Lane
Disabling auto-import requires that all libraries we use be careful about declspecs for exported variables; and it seems they aren't. This means that Cygwin will not give us useful info about missing PGDLLIMPORT markers; but it's probably sufficient that MSVC and Mingw builds do.
2014-02-12Remove --enable-auto-import linker switch in Cygwin build.Tom Lane
This is expected to make it start failing when contrib modules reference non-PGDLLIMPORT'ed global variables, as the other Windows build methods do. Aside from the value of consistency, the underlying implementation of this switch is pretty ugly and not really something we want to rely on if we have to use PGDLLIMPORT anyway for MSVC.
2010-09-20Remove cvs keywords from all files.Magnus Hagander
2010-07-05Split the LDFLAGS make variable into two parts: LDFLAGS is now used forTom Lane
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.
2006-03-11Add CVS tag lines to files that were lacking them.Bruce Momjian
2004-11-17Miscellaneous Cygwin build fixes from Reini Urban.Tom Lane
2004-11-08Allow win32/cygwin link against the first matching library symbol ratherBruce Momjian
than erroring out. This is the Unix behavior.
2003-10-09Make template CFLAGS handling consistent.Bruce Momjian
2003-10-09This centralizes the optimization defaults into configure.in, ratherBruce Momjian
than having CFLAGS= in the template files. It uses -O2 for gcc (generated by autoconf), and -O for non-gcc, unless the template overrides it.
2003-10-09Add quotes to CFLAG define.Bruce Momjian
2003-03-21Make "win" a separate port from "cygwin". This means you can nowPeter Eisentraut
configure under native Windows (MinGW that is), but you won't get very far compiling yet. The dynaloader files are from Jan Wieck's patch set.