1. 06 Apr, 2015 1 commit
  2. 15 Mar, 2015 1 commit
  3. 10 Feb, 2015 2 commits
  4. 06 Feb, 2015 1 commit
  5. 05 Feb, 2015 1 commit
  6. 10 Jan, 2015 1 commit
  7. 27 Dec, 2014 1 commit
    • Felix Fietkau's avatar
      build: use gcc-provided ar, nm and ranlib where appropriate · 9a467998
      Felix Fietkau authored
      
      
      Since GCC 4.7, GCC provides its own wrappers around ar, nm and ranlib, which
      should be used for builds with link-time optimization. Since GCC 4.9, using them
      actually necessary for LTO builds using convenience libraries to succeed.
      
      There are some packages which try to automatically detect if gcc-{ar,nm,ranlib}
      exist (one example is my package "fastd" in the package repository, which tries
      to use LTO). This breaks because the OpenWrt build system explicitly sets the
      binutils versions of these tools.
      
      As it doesn't cause any issues to use gcc-{ar,nm,ranlib} instead of
      {ar,nm,ranlib} even without LTO, this patch just makes OpenWrt use the
      GCC-provided versions by default, which fixes the build of such packages with
      GCC 4.9.
      
      (I know that builds fail though when clang is used with -flto and
      gcc-{ar,nm,ranlib}, but as all OpenWrt toolchains are based on GCC, this isn't
      a real issue.)
      
      Completely cleaning the tree (or at least `make clean toolchain/clean`) is
      necessary to get a consistent state after the binutils plugins support patch and
      this one (as trying to use gcc-{ar,nm,ranlib} with a binutils built without
      plugin support will definitely lead to a build failure).
      Signed-off-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
      
      SVN-Revision: 43784
      9a467998
  8. 22 Oct, 2014 2 commits
  9. 20 Oct, 2014 1 commit
  10. 26 Aug, 2014 1 commit
  11. 22 Mar, 2014 1 commit
  12. 21 Mar, 2014 3 commits
  13. 10 Mar, 2014 1 commit
  14. 29 Nov, 2013 1 commit
  15. 22 Nov, 2013 1 commit
  16. 26 Sep, 2013 1 commit
  17. 14 Aug, 2013 1 commit
  18. 29 Jul, 2013 1 commit
  19. 18 Jul, 2013 1 commit
  20. 10 Jul, 2013 2 commits
  21. 09 May, 2013 1 commit
  22. 06 May, 2013 1 commit
  23. 05 Apr, 2013 5 commits
  24. 22 Mar, 2013 1 commit
  25. 20 Feb, 2013 1 commit
  26. 13 Jan, 2013 1 commit
  27. 02 Dec, 2012 2 commits
  28. 23 Nov, 2012 1 commit
  29. 22 Nov, 2012 1 commit
  30. 06 Oct, 2012 1 commit