Skip to content
Snippets Groups Projects
  1. Jul 28, 2021
  2. Jul 02, 2021
  3. Jan 14, 2021
  4. Jan 04, 2021
  5. Nov 25, 2020
  6. Nov 20, 2020
  7. Oct 22, 2020
  8. Sep 21, 2020
  9. Sep 08, 2020
  10. Jul 08, 2020
  11. Jul 07, 2020
  12. Jun 24, 2020
  13. Jun 16, 2020
  14. Jun 12, 2020
  15. 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
  16. Sep 26, 2019
  17. Jul 24, 2019
  18. Apr 02, 2019
  19. Jan 30, 2019
  20. May 17, 2018
  21. May 16, 2018
  22. Apr 30, 2018
  23. Apr 24, 2018
Loading