]> git.ipfire.org Git - thirdparty/elfutils.git/commit
tests: use ${CC} instead of 'gcc' in tests
authorSergei Trofimovich via Elfutils-devel <elfutils-devel@sourceware.org>
Sun, 31 Jan 2021 15:49:13 +0000 (15:49 +0000)
committerMark Wielaard <mark@klomp.org>
Sun, 31 Jan 2021 17:16:45 +0000 (18:16 +0100)
commiteb922a1b8f3a7b1d9740bc789fdf499637ded111
tree4c72b92716a387a72c0b7fdc76c78d69cbdf9206
parent92ed5f32bdffc414b6379022c614accbd0eb8847
tests: use ${CC} instead of 'gcc' in tests

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.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
tests/ChangeLog
tests/Makefile.am
tests/run-disasm-x86-64.sh
tests/run-disasm-x86.sh
tests/run-strip-g.sh
tests/run-strip-nothing.sh
tests/run-test-includes.sh