Re: [patch] 2.4.0-pre6 StackGuard gcc makefile fix

From: Michael Elizabeth Chastain (mec@shout.net)
Date: Sat Aug 12 2000 - 02:32:16 EST


Hi Greg,

Your patch has a problem with the location of the $(CC) test.

In the top Makefile, $(CC) isn't usable until after the to Makefile
includes arch/$(ARCH)/Makefile. This is because the arch Makefile
can change the value of $(CROSS_COMPILE), which affects the value
of $(CC).

Look at the location of the "-fno-strict-aliasing' test. That's
where your test needs to be.

I have some documentation on the kernel Makefiles:

    ftp://ftp.shout.net/pub/users/mec/kbuild/X-Dkm-7.diff

Michael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:26 EST