From: Flemming Greve Skovengaard <dsl58893@vip.cybercity.dk>
To: Steven Smith <sos22@cam.ac.uk>
Cc: linux-newbie@vger.kernel.org
Subject: Re: Compiler flags, kernel-complie
Date: Sat, 31 May 2003 22:16:07 +0200 [thread overview]
Message-ID: <3ED90D87.7050507@vip.cybercity.dk> (raw)
In-Reply-To: <20030531195356.GA24659@cam.ac.uk>
Steven Smith wrote:
>>I have set the enviroment variables $CFLAGS and $CXXFLAGS to:
>>
>>-O2 -march=athlon-xp
>>
>>Now my question is will this effect my kernel-compile?
>
> Shouldn't do; the kernel doesn't normally inherit CFLAGS and friends
> from the environment. The correct way to do this is through the
> ``Processor type'' part of make {x,menu}config.
Well it seems like that $CFLAGS is overwriten in
'/usr/src/linux/Makefiles' og exported.
But when I compile kernel it compiles with '-march=athlon', how do I
change this?
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs
next prev parent reply other threads:[~2003-05-31 20:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-31 19:30 Compiler flags, kernel-complie Flemming Greve Skovengaard
2003-05-31 19:53 ` Steven Smith
2003-05-31 20:16 ` Flemming Greve Skovengaard [this message]
2003-05-31 21:22 ` Steven Smith
2003-05-31 20:22 ` pa3gcu
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=3ED90D87.7050507@vip.cybercity.dk \
--to=dsl58893@vip.cybercity.dk \
--cc=linux-newbie@vger.kernel.org \
--cc=sos22@cam.ac.uk \
/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.