All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Michal Semler <cijoml@volny.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: passing my own compiler options into linux kernel compiling
Date: Thu, 24 Jul 2003 22:58:37 +0200	[thread overview]
Message-ID: <20030724205837.GA1176@mars.ravnborg.org> (raw)
In-Reply-To: <200307240916.17530.cijoml@volny.cz>

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

  parent reply	other threads:[~2003-07-24 20:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-24  7:16 passing my own compiler options into linux kernel compiling Michal Semler
2003-07-24  7:59 ` Hacksaw
2003-07-24  8:01 ` Martin Zwickel
2003-07-24  8:50   ` Michal Semler
2003-07-24  8:55     ` Christoph Hellwig
2003-07-24  9:31       ` J.A. Magallon
2003-07-24  9:41       ` J.A. Magallon
2003-07-24 12:35     ` James H. Cloos Jr.
2003-07-24 20:58 ` Sam Ravnborg [this message]
2003-07-24 21:41   ` Ed Sweetman
2003-07-24 23:27 ` Kurt Wall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030724205837.GA1176@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=cijoml@volny.cz \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.