* [PATCH][SPARSE] Use $(CC) consistently throughout the Makefile
@ 2003-06-08 0:46 Ryan Anderson
0 siblings, 0 replies; only message in thread
From: Ryan Anderson @ 2003-06-08 0:46 UTC (permalink / raw)
To: Linus Torvalds; +Cc: kernel-janitor-discuss, linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-08 0:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-08 0:46 [PATCH][SPARSE] Use $(CC) consistently throughout the Makefile Ryan Anderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).