1. 11 Jun, 2014 1 commit
    • Noah Misch's avatar
      Have configuration templates augment, not replace, LDFLAGS. · 4d92b158
      Noah Misch authored
      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
      4d92b158
  2. 12 Feb, 2014 1 commit
    • Tom Lane's avatar
      Use --disable-auto-import linker switch in Mingw builds, too. · 1c9acd5c
      Tom Lane authored
      This is evidently the default on buildfarm member narwhal, but that
      is a pretty ancient Mingw version, and there is reason to think that
      more recent versions of GNU ld have this feature turned on by default.
      Since we are trying to achieve consistency of link behavior across
      all Windows toolchains, let's just make sure here.
      1c9acd5c
  3. 05 Jul, 2010 1 commit
    • Tom Lane's avatar
      Split the LDFLAGS make variable into two parts: LDFLAGS is now used for · 291a9577
      Tom Lane authored
      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.
      291a9577
  4. 08 Nov, 2004 1 commit
  5. 09 Oct, 2003 1 commit
  6. 15 May, 2003 1 commit
    • Bruce Momjian's avatar
      Allow Win32 to compile under MinGW. Major changes are: · 12c94238
      Bruce Momjian authored
              Win32 port is now called 'win32' rather than 'win'
              add -lwsock32 on Win32
              make gethostname() be only used when kerberos4 is enabled
              use /port/getopt.c
              new /port/opendir.c routines
              disable GUC unix_socket_group on Win32
              convert some keywords.c symbols to KEYWORD_P to prevent conflict
              create new FCNTL_NONBLOCK macro to turn off socket blocking
              create new /include/port.h file that has /port prototypes, move
                out of c.h
              new /include/port/win32_include dir to hold missing include files
              work around ERROR being defined in Win32 includes
      12c94238
  7. 21 Mar, 2003 1 commit
  8. 05 Sep, 2002 1 commit
    • Peter Eisentraut's avatar
      Assorted fixes for Cygwin: · 337da067
      Peter Eisentraut authored
      Eliminate the mysterious games that the Cygwin build plays with the linker
      flag variables.  DLLLIBS is gone, use SHLIB_LINK like everyone else.
      Detect cygipc in configure, after the linker flags are set up, otherwise
      configure might not work at all.
      
      Make sure everything is covered by make clean.
      
      Fix the build of the new conversion procedure modules.
      
      Add new DLLIMPORT markers where required.
      
      Finally, the compiler complains if we use an explicit
      -I/usr/local/include, so don't do that.  Curiously, -L/usr/local/lib is
      still necessary.
      337da067
  9. 21 Oct, 2000 1 commit
    • Peter Eisentraut's avatar
      Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template to · f8ff1ee5
      Peter Eisentraut authored
      Makefile.port, since they are of no use to configure and much of the
      library magic happens in Makefile.port anyway.
      
      Use __alpha, not __alpha__, since the former is universally available.
      Remove -DNOFIXADE from the compile command line and put it in the port
      include file.
      f8ff1ee5
  10. 15 Jul, 2000 1 commit