summaryrefslogtreecommitdiff
blob: b1541d5cb179f30af3a2895108e7ad89394d7275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
https://bugs.gentoo.org/790611
--- a/elftoc/Makefile
+++ b/elftoc/Makefile
@@ -30,7 +30,7 @@ out.o     : out.c out.h gen.h readelf.h pieces.h address.h shdrtab.h \
 elftoc.o  : elftoc.c gen.h readelf.h pieces.h address.h outbase.h out.h
 
 elfnames.c: mknames
-	echo '#include <elf.h>' | gcc -E -dM -xc /dev/stdin | ./$^ $@
+	echo '#include <elf.h>' | $(CC) -E -dM -xc /dev/stdin | ./$^ $@
 
 mknames: mknames.o
 mknames.o: mknames.c