1. 14 May, 2018 1 commit
  2. 28 Dec, 2017 1 commit
    • Dmitri Vorobiev's avatar
      Strip compiler options from the CC variable · 12a9d1a3
      Dmitri Vorobiev authored
      
      
      The Makefile checks validity of the compiler command in the CC
      variable by feeding the contents of that variable to the `type'
      utility. Some environments include compiler options in the CC
      variable such as architecture specific tuning flags. For such
      cases it is necessary to first strip everything except the
      command itself from the contents of the CC variable prior to
      checking the command with the type utility, which is what this
      patch is introducing. We use shell parameter expansion mechanism
      for this purpose.
      Signed-off-by: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.com>
      12a9d1a3
  3. 27 Dec, 2017 1 commit
    • Dmitri Vorobiev's avatar
      Remove $(ARCH) expansion from the Makefile · 3238cf4f
      Dmitri Vorobiev authored
      
      
      Some compilation environments (such as Yocto) define the ARCH
      environment variable to indicate the target architecture. For
      such enviroments, hiredis build fails, because the expanded
      $(ARCH) variable in the Makefile gets erroneously interpreted
      as an argument to the `-ggdb' command line option during the
      compilation stage or as an input file name during the linking
      stage.
      
      This patch removes $(ARCH) expansions from the Makefile. This
      doesn't harm cross-compilation, the latter goes fine with the
      properly assigned CC environment variable. For native builds,
      this patch does not imply any changes.
      Signed-off-by: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.com>
      3238cf4f
  4. 29 Nov, 2017 1 commit
  5. 30 Oct, 2017 1 commit
  6. 09 Oct, 2016 1 commit
    • Trustfarm-heart's avatar
      Build error patch with glib-2.0 · 06eedd8a
      Trustfarm-heart authored
      In case of some glib-2.0 linker error ,
      make examples 
      can't link with glib2.0,  in this case -lglib-2.0  to after includes and move to last will solve the issues.
      06eedd8a
  7. 20 Apr, 2016 1 commit
    • Jan-Erik Rediger's avatar
      fix: Rename DEBUG to DEBUG_FLAGS · acf89500
      Jan-Erik Rediger authored
      This avoids issues with environments where DEBUG is set to an arbitrary
      value to force debug mode in other tools.
      
      BREAKING CHANGE: This breaks builds that explicitely set `DEBUG` to
                       some value (even the empty value).
                       To get back the old behaviour change the `DEBUG_FLAGS`
                       variable now.
      acf89500
  8. 27 Jul, 2015 5 commits
  9. 30 May, 2015 1 commit
    • w359405949's avatar
      Update Makefile · 485d0a14
      w359405949 authored
      fix link error while run "make hiredis-example-libuv":
      
      undefined reference to `clock_gettime'
      undefined reference to `clock_getres'
      485d0a14
  10. 03 May, 2015 2 commits
  11. 16 Apr, 2015 1 commit
  12. 28 Mar, 2015 1 commit
    • David Watson's avatar
      Add PKGCONFNAME to install dependencies. · dc13bc86
      David Watson authored
      Attempting to use the install target before the make target works fine,
      except for the missing pkgconfig file.  Adding that file to the
      dependencies for the install target to make sure it gets created first.
      dc13bc86
  13. 19 Mar, 2015 1 commit
  14. 18 Mar, 2015 1 commit
  15. 03 Mar, 2015 1 commit
    • Dominique Leuenberger's avatar
      Fix pkgconf file: escaping needed · 37c06fac
      Dominique Leuenberger authored
      Due to the various processors going over the command, we need more
      escaping.
      
      1) Make parses it, so $${libdir} becomes ${libdir}
      2) 'shell' parses it for the 'echo command', whereas echo ${libdir}
      would be an empty string; escape it as \${libdir} to ensure we get what
      we want.
      
      Closes #312
      37c06fac
  16. 12 Feb, 2015 1 commit
  17. 26 Jan, 2015 3 commits
  18. 22 Jan, 2015 1 commit
  19. 05 Jan, 2015 5 commits
  20. 10 Apr, 2014 1 commit
  21. 09 Apr, 2014 1 commit
    • Eddy Jansson's avatar
      Fix Makefile test to use more compatible syntax · 05fb7be3
      Eddy Jansson authored
      The existing way is not compatible with a lot of shells, including most
      bash installations, because the echos that generates the configuration
      sent to redis-server doesn't expand the escapes. Adding '-e' to the
      echo works under bash, but breaks on the Travis CI server.
      
      This is my attempt to find an alternative that works everywhere.
      [committer note: it doesn't work under Solaris make, but the Makefile
      was already broken under Solaris make.  Solaris users must use gmake.]
      
      Closes #224 and Closes #221
      05fb7be3
  22. 11 Jul, 2013 3 commits
  23. 02 Jul, 2013 1 commit
  24. 04 Jun, 2013 1 commit
  25. 21 Aug, 2012 1 commit
    • antirez's avatar
      Add ARCH to Makefile CFLAGS / LDFLAGS. · 7f346477
      antirez authored
      This makes builiding with an optional 32 bit target simpler. For
      instance Redis (that contains an embedded copy of hiredis) when compiled
      with "make 32bit" uses to pass an ARCH parameter to force an hiredis
      32 bit build.
      7f346477
  26. 19 Jun, 2011 2 commits