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

issue hebasto openend this issue on June 8, 2021
  1. hebasto commented at 0:01 am on June 8, 2021: member

    System - Hirsute 21.04 with GCC 10.3.0.

    Also, GCC 11.1.0 was installed:

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

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

    0...
    1Configure summary:
    2
    3Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
    4Building for: linux-g++-64 (x86_64, CPU features: mmx sse sse2)
    5Target compiler: gcc 10.3.0
    6...
    
  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 0: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: 2024-12-18 15:12 UTC

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