[PATCH][SPARSE] Use $(CC) consistently throughout the Makefile

Ryan Anderson (ryan@michonline.com)
Sat, 7 Jun 2003 20:46:06 -0400


This patch makes compilation of sparse use the correct version of gcc
throughout. (It doesn't seem to have caused any problems, but the
current situation isn't strictly correct, so...)

diff -Nru a/Makefile b/Makefile
--- a/Makefile Sat Jun 7 16:44:31 2003
+++ b/Makefile Sat Jun 7 16:44:31 2003
@@ -41,7 +41,7 @@
tokenize.o: $(LIB_H)

pre-process.h:
- echo "#define GCC_INTERNAL_INCLUDE \"`gcc -print-file-name=include`\"" > pre-process.h
+ echo "#define GCC_INTERNAL_INCLUDE \"`$(CC) -print-file-name=include`\"" > pre-process.h

clean:
rm -f *.[oasi] core core.[0-9]* $(PROGRAMS) pre-process.h

-- 

Ryan Anderson sometimes Pug Majere - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/