Messages in this thread | | | Date | Thu, 24 Jul 2003 22:58:37 +0200 | From | Sam Ravnborg <> | Subject | Re: passing my own compiler options into linux kernel compiling |
| |
On Thu, Jul 24, 2003 at 09:16:17AM +0200, Michal Semler wrote: > Hello, > > I use gcc-3.3 and I would like compile my kernel with flags: > > -O4 -march=pentium3 -mcpu=pentium3 > > Is there any way to do this? Only way to specify -O4 is to manually edit top-level Makefile. Change the assignment to CFLAGS (not hOSTCFLAGS as someone suggested).
The -m options are set in arch/i386/Makefile. The best way to set them is to select the correct processor type.
Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |