lkml.org 
[lkml]   [2000]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.101 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site