Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jan 2009 17:43:57 +0000
From:      RW <>
Subject:   Re: default CFLAGS
Message-ID:  <>
In-Reply-To: <>
References:  <Pine.LNX.4.64.0901241734020.6296@localhost> <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sat, 24 Jan 2009 15:27:02 +0100
Morgan Wesstr=F6m <> wrote:

> The section "options enabled" will list them all. I usually only add
> "-march=3Dnative" to my CFLAGS to enable a few more CPU specific
> optimizations.

If you set CPUTYPE, -march is set to match, so setting -march=3Dnative
should be redundant. OTOH a number of other make variables are defined
from CPUTYPE, so if you set  -march=3Dnative, but not CPUTYPE you might
miss some optimisations based on build options.=20

I've no idea whether there are any such options, just that you're
probably not going to do better than setting CPUTYPE, and leaving the
rest alone.

Want to link to this message? Use this URL: <>