Skip to contentSkip to conversation

typo: HOSTCCFLAGS instead of HOSTCFLAGS in lib/Makefile

DISCUSSION Peter Cordes 2 participants 2 messages Feb 10, 2004 – Feb 14, 2004 Library code

lore
Share & tools
lore
#0 lore raw

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.

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

Signature · 6 lines
#define X(x,y) x##y
Peter Cordes ;  e-mail: X(peter@cor , des.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BC
#1 lore raw
Quoted 8 lines · Peter Cordes

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.

Quoted 1 line

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

cu
Adrian

lib/Makefile renamed from lib/Makefile.old +1 -1
@@ -42,7 +42,7 @@
 crc32.o: crc32table.h
 
 gen_crc32table: gen_crc32table.c
-	$(HOSTCC) $(HOSTCCFLAGS) -o $@ $<
+	$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
 
 crc32table.h: gen_crc32table
 	./$< > $@