Skip to content
Snippets Groups Projects
  1. Jul 07, 2020
  2. Jun 24, 2020
  3. Jun 16, 2020
  4. Jun 12, 2020
  5. Oct 02, 2019
    • Simon McVittie's avatar
      build: Check that the compiler and --host are consistent · 8bf9b114
      Simon McVittie authored
      
      libcapsule's use with biarch containers like the Steam Runtime will
      frequently make it necessary to compile it for both x86_64 and i386.
      
      On recent Debian-derived OSs this is OK, because the toolchain is
      provided as a complete set of cross-compiler-style prefixed tools like
      i686-linux-gnu-gcc; but some OSs, like Arch Linux and very old versions
      of Debian, rely on 'gcc -m32' for their biarch support. This makes it
      very easy to do
      
          ./configure --build=x86_64-linux-gnu --host=i686-linux-gnu
      
      and accidentally produce x86_64 binaries, because there is no
      i686-linux-gnu-gcc. Give the user a hint towards the correct invocation
      in this case, which is:
      
          ./configure --build=x86_64-linux-gnu --host=i686-linux-gnu CC='gcc -m32'
      
      I've implemented this as a reusable macro, in case we want to add it to
      other projects that are likely to be cross-compiled by inexperienced
      cross-compiler users.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      8bf9b114
  6. Sep 26, 2019
  7. Jul 24, 2019
  8. Apr 02, 2019
  9. Jan 30, 2019
  10. May 17, 2018
  11. May 16, 2018
  12. Apr 30, 2018
  13. Apr 24, 2018
  14. Jan 03, 2018
  15. Dec 20, 2017
  16. Nov 17, 2017
  17. Nov 16, 2017
  18. Nov 15, 2017
  19. Nov 13, 2017
Loading