On Sun, Jan 31, 2021 at 03:49:13PM +0000, Sergei Trofimovich via Elfutils-devel wrote: > To better support cross-compilation Gentoo provides a way > to configure system without 'gcc' binary and only provide > tool-prefixed tools, like 'x86_64-pc-linux-gnu-gcc'. > The packages are built as ./configure --host=x86_64-pc-linux-gnu. > > In https://bugs.gentoo.org/718872 Agostino Sarubbo found > a few test failures that use hardcoded 'gcc' instead of > expected ${CC}. The change propagates detected ${CC} at > configure time to test scripts.
Looks good. As long as CC accepts the same arguments as gcc this should work just fine. And I think all requirements are checked against CC in configure. Pushed. BTW. Note that tests/run-debuginfod-find.sh still contains "bare" gcc calls. Thanks, Mark