lkml.org 
[lkml]   [2004]   [Feb]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSat, 14 Feb 2004 13:10:13 +0100
FromAdrian Bunk <>
SubjectRe: typo: HOSTCCFLAGS instead of HOSTCFLAGS in lib/Makefile
On Tue, Feb 10, 2004 at 07:31:02PM -0400, Peter Cordes wrote:
> 
>  In lib/Makefile in Linux 2.4.24, near the end there is:
> gen_crc32table: gen_crc32table.c
>          $(HOSTCC) $(HOSTCCFLAGS) -o $@ $<
>                          ^^
>  It should be HOSTCFLAGS, not HOSTCCFLAGS.
> 
>  There aren't any other instances of HOSTCCFLAGS in 2.4.24, or any in 2.6.1.

Nice spotting!

@Marcelo:
Please apply the patch below.

>  please CC on replies, since I'm not subscribed.

cu
Adrian

--- linux-2.4.25-rc2-full/lib/Makefile.old	2004-02-14 13:02:36.000000000 +0100
+++ linux-2.4.25-rc2-full/lib/Makefile	2004-02-14 13:02:47.000000000 +0100
@@ -42,7 +42,7 @@
 crc32.o: crc32table.h
 
 gen_crc32table: gen_crc32table.c
-	$(HOSTCC) $(HOSTCCFLAGS) -o $@ $<
+	$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
 
 crc32table.h: gen_crc32table
 	./$< > $@
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008