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...