Messages in this thread | | | Date | Sat, 12 Aug 2000 02:32:16 -0500 | From | Michael Elizabeth Chastain <> | Subject | Re: [patch] 2.4.0-pre6 StackGuard gcc makefile fix |
| |
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/
| |