You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/elfutils/files/elfutils-0.181-CC-in-tests-...

35 lines
1.4 KiB

--- a/tests/run-test-includes.sh
+++ b/tests/run-test-includes.sh
@@ -3,24 +3,24 @@
. $srcdir/test-subr.sh
echo '#include "libelf.h"' \
- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
echo '#include "gelf.h"' \
- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
echo '#include "dwarf.h"' \
- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-I ${abs_srcdir}/../libdw -xc -
echo '#include "libdw.h"' \
- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-I ${abs_srcdir}/../libdw -xc -
echo '#include "libdwfl.h"' \
- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-I ${abs_srcdir}/../libdw -I ${abs_srcdir}/../libdwfl -xc -
echo '#include "libdwelf.h"' \
- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-I ${abs_srcdir}/../libdw -I ${abs_srcdir}/../libdwelf -xc -
echo '#include "libasm.h"' \
- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-I ${abs_srcdir}/../libasm -xc -