From: | Benedikt Morbach <benedikt.morbach@××××××××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] CFLAGS | ||
Date: | Wed, 16 Jan 2008 20:35:35 | ||
Message-Id: | 6faa67950801161234s4f06b1d7ic525e89f814d6b8b@mail.gmail.com | ||
In Reply to: | Re: [gentoo-user] CFLAGS by Kenneth Prugh |
1 | On 1/16/08, Kenneth Prugh <ken69267@×××××.com> wrote: |
2 | > CFLAGS="-O2 -march=native -mtune=native -pipe" |
3 | |
4 | CFLAGS="-O2 -march=native -pipe" |
5 | would be sufficient. |
6 | |
7 | On my system, it gives me (I have a core 2 duo) |
8 | CFLAGS="-O2 -march=nocona -mtune=generic -pipe" |
9 | while with gcc-4.3, I get |
10 | CFLAGS="-O2 -march=core2 -mtune=core2 -pipe" |
11 | |
12 | So -march=native handles both, -march and -mtune |
13 | -- |
14 | gentoo-user@l.g.o mailing list |