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

From: Ryan Anderson (ryan@michonline.com)
Date: Sat Jun 07 2003 - 19:46:06 EST


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/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:34 EST