1. 01 2月, 2018 1 次提交
  2. 28 1月, 2018 3 次提交
  3. 08 1月, 2018 1 次提交
    • R
      Separate general linking flags from extra libraries · 47eeaf45
      Richard Levitte 提交于
      So far, we've placed all extra library related flags together, ending
      up in the make variable EX_LIBS.  This turns out to be problematic, as
      for example, some compilers don't quite agree with something like
      this:
      
          cc -o foo foo.o -L/whatever -lsomething
      
      They prefer this:
      
          cc -L/whatever -o foo foo.o -lsomething
      
      IBM's compiler on OS/390 is such a compiler that we know of, and we
      have previously handled that as a previous case.
      
      The answer here is to make a more general solution, where linking
      options are divided in two parts, where one ends up in LDFLAGS and
      the other in EX_LIBS (they corresponds to what is called LDFLAGS and
      LDLIBS in the GNU world)
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/5033)
      47eeaf45
  4. 13 12月, 2017 1 次提交
  5. 10 11月, 2017 1 次提交
  6. 01 7月, 2017 1 次提交
  7. 22 6月, 2017 1 次提交
  8. 10 11月, 2016 1 次提交
  9. 09 11月, 2016 1 次提交
  10. 07 11月, 2016 1 次提交
  11. 25 10月, 2016 1 次提交
  12. 02 9月, 2016 1 次提交
  13. 30 8月, 2016 1 次提交
  14. 01 8月, 2016 1 次提交
  15. 14 7月, 2016 1 次提交
  16. 17 5月, 2016 1 次提交
  17. 11 5月, 2016 1 次提交
  18. 04 5月, 2016 1 次提交
  19. 20 4月, 2016 1 次提交
  20. 15 4月, 2016 1 次提交
  21. 13 4月, 2016 1 次提交
    • R
      Fix zlib configuration options. · 62890f47
      Richard Levitte 提交于
      The macros ZLIB and ZLIB_SHARED weren't appropriately defined,
      deviating wrongly from how they worked in earlier OpenSSL versions.
      So, restore it so that ZLIB is defined if configured "enable-zlib" and
      so that ZLIB and ZLIB_SHARED are defined if configured
      "enable-zlib-dynamic".
      
      Additionally, correct the interpretation of the --with-zlib-lib value
      on Windows and VMS, where it's used to indicate the actual zlib
      zlib library file / logical name, as that can differ depending on zlib
      version and packaging on those platforms.
      
      Finally for Windows and VMS, we also define the macro LIBZ with that
      file name / logical name when configured "zlib-dynamic", so the
      compression unit can pick it up and use it.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      62890f47
  22. 21 3月, 2016 1 次提交
  23. 14 3月, 2016 1 次提交
  24. 09 3月, 2016 1 次提交
  25. 08 3月, 2016 3 次提交
  26. 03 3月, 2016 4 次提交
    • R
      Configure - Get rid of the special thread_cflag, replace with thread_scheme · 9c62a279
      Richard Levitte 提交于
      The thread_cflag setting filled a double role, as kinda sorta an
      indicator of thread scheme, and as cflags.  Some configs also added
      lflags and ex_libs for multithreading regardless of if threading would
      be enabled or not.
      
      Instead of this, add threading cflags among in the cflag setting,
      threading lflags in the lflag setting and so on if and only if threads
      are enabled (which they are by default).
      
      Also, for configs where there are no special cflags for threading (the
      VMS configs are of that kind), this makes it possible to still clearly
      mention what thread scheme is used.
      
      The exact value of thread scheme is currently ignored except when it's
      "(unknown)", and thereby only serves as a flag to tell if we know how
      to build for multi-threading in a particular config.  Yet, the
      currently used values are "(unknown)", "pthreads", "uithreads" (a.k.a
      solaris threads) and "winthreads".
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      9c62a279
    • R
      Configure - get rid of the special debug_ and release_ settings · 8864f0de
      Richard Levitte 提交于
      Instead, make the build type ("debug" or "release") available through
      $config{build_type} and let the configs themselves figure out what the
      usual settings (such as "cflags", "lflags" and so on) should be
      accordingly.
      
      The benefit with this is that we can now have debug and release
      variants of any setting, not just those Configure supports, and may
      also involve other factors (the MSVC flags /MD[d] and /MT[d] involve
      both build type and whether threading is enabled or not)
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      8864f0de
    • R
      Configure - move the addition of the zlib / libz lib to configs · 98fdbce0
      Richard Levitte 提交于
      Configure had the Unix centric addition of -lz when linking with zlib
      is enabled, which doesn't work on other platforms.  Therefore, we move
      it to the BASE_unix config template and add corresponding ones in the
      other BASE_* config templates.  The Windows one is probably incomplete,
      but that doesn't matter for the moment, as mk1mf does it's own thing
      anyway.
      
      This required making the %withargs table global, so perl snippets in
      the configs can use it.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      98fdbce0
    • R
      Configure - Rename BASE to DEFAULTS and add a few inheritable BASEs · d2b2221a
      Richard Levitte 提交于
      These BASE templates are intended to hold values that are common for
      all configuration variants for whole families of configurations.
      
      So far, three "families" are identified: Unix, Windows and VMS, mostly
      characterised by the build system they currently use.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      d2b2221a
  27. 02 3月, 2016 1 次提交
  28. 26 2月, 2016 1 次提交
  29. 19 2月, 2016 1 次提交
    • R
      Rethink the uplink / applink story · 3a55c92b
      Richard Levitte 提交于
      Adding uplink and applink to some builds was done by "magic", the
      configuration for "mingw" only had a macro definition, the Configure
      would react to its presence by adding the uplink source files to
      cpuid_asm_src, and crypto/build.info inherited dance to get it
      compiled, and Makefile.shared made sure applink.o would be
      appropriately linked in.  That was a lot under the hood.
      
      To replace this, we create a few template configurations in
      Configurations/00-base-templates.conf, inherit one of them in the
      "mingw" configuration, the rest is just about refering to the
      $target{apps_aux_src} / $target{apps_obj} in the right places.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      3a55c92b
  30. 16 2月, 2016 1 次提交
  31. 15 2月, 2016 1 次提交
  32. 14 2月, 2016 1 次提交
  33. 13 2月, 2016 1 次提交