Skip to content
Snippets Groups Projects
  1. Dec 27, 2014
    • 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
    • Felix Fietkau's avatar
      binutils: enable plugin support · 7d808a32
      Felix Fietkau authored
      
      --enable-plugin is necessary for gcc-ar, gcc-nm and gcc-ranlib to work, which
      must be used with GCC 4.9 for LTO to work.
      
      Without this option, gcc-ar etc. will just fail with
      
          sorry - this program has been built without plugin support
      
      Using the normal ar from binutils with GCC 4.9 and -flto will cause linking
      with static "convenience" libraries to fail.
      
      Signed-off-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
      
      SVN-Revision: 43783
      7d808a32
    • Felix Fietkau's avatar
      hostapd: add support for configuring supported rates · b2de18be
      Felix Fietkau authored
      
      patch by Wilco Baan Hofman from #18627
      
      Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
      
      SVN-Revision: 43782
      b2de18be
  2. Dec 26, 2014
  3. Dec 25, 2014
  4. Dec 23, 2014
  5. Dec 22, 2014
  6. Dec 20, 2014
  7. Dec 19, 2014
  8. Dec 18, 2014
Loading