Re: typo: HOSTCCFLAGS instead of HOSTCFLAGS in lib/Makefile

From: Adrian Bunk
Date: Sat Feb 14 2004 - 07:11:39 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/