Re: Intel Makefile Suggestion

Charles Cazabon (charlesc-linux@qcc.sk.ca)
Wed, 30 Dec 1998 08:49:52 -0600


Shaw Terwilliger <sterwill@postman.abisource.com> wrote:
>
> I'd like to ask the list if there's any reason the
> arch/i386/Makefile includes "-m486" in the CFLAGS for the
> 586 and 686 configurations.
[snip]
> It would be convenient for me to put the "-mpentium
> -march=pentium" flags in the 586 config (and likewise for
> 686), but I recognize that older versions of GCC might balk
> at this. That's fine. I would like to suggest that the
> -m486 be taken out of those blocks, though. Is this a bad
> idea?

Why not simply define a CFLAGS environment variable on your system before
building the kernel? You could set it to whatever options you like, and
make should pick this up, shouldn't it?

Or, use 'make CFLAGS=whatever zImage' to override the defaults in the makefile.

Charles Cazabon

-- 
----------------------------------------------------
Charles Cazabon           <charlesc-linux@qcc.sk.ca>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------

- 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/