In depends the qt package ignores CC,CXX variables #22184

issue hebasto opened this issue on June 8, 2021
  1. hebasto commented at 12:01 AM on June 8, 2021: member

    System - Hirsute 21.04 with GCC 10.3.0.

    Also, GCC 11.1.0 was installed:

    $ g++-11 --version
    g++-11 (Ubuntu 11.1.0-1ubuntu1~21.04) 11.1.0
    Copyright (C) 2021 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    

    Running make -C depends qt_configured CC=gcc-11 CXX=g++-11, I got:

    ...
    Configure summary:
    
    Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
    Building for: linux-g++-64 (x86_64, CPU features: mmx sse sse2)
    Target compiler: gcc 10.3.0
    ...
    
  2. hebasto added the label Bug on Jun 8, 2021
  3. hebasto added the label Build system on Jun 8, 2021
  4. hebasto commented at 12:02 AM on June 8, 2021: member
  5. dongcarl commented at 5:10 PM on June 8, 2021: contributor

    Sort of related to #21412, we need to recognize {CC,{C,CPP,LD}FLAGS}_FOR_BUILD vars in depends

  6. hebasto commented at 6:41 PM on June 8, 2021: member

    Also related to #18820.

  7. hebasto commented at 7:17 AM on August 27, 2021: member

    QMAKE_CC and QMAKE_CXX are hardcoded in mkspecs/common/g++-base.conf :disappointed:

  8. fanquake referenced this in commit 155efaefee on Aug 11, 2022
  9. fanquake referenced this in commit f033fb6656 on Aug 11, 2022
  10. fanquake referenced this in commit 397a644197 on Aug 11, 2022
  11. fanquake referenced this in commit a051495a90 on Aug 12, 2022
  12. fanquake referenced this in commit 11d1fec3ae on Aug 12, 2022
  13. hebasto referenced this in commit 94dfad50d1 on Aug 13, 2022
  14. hebasto referenced this in commit 3671ba8514 on Aug 13, 2022
  15. fanquake closed this on Aug 15, 2022

  16. bitcoin locked this on Aug 15, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 00:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me