Re: [PATCH] Enable -march-native when available

From: Kinkie <gkinkie_at_gmail.com>
Date: Mon, 20 May 2013 14:28:42 +0200

On Sat, May 18, 2013 at 1:36 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> Clang++ 3.2 fails to detect some CPUs correctly and requires the additional
> checks enabled by this option to build working executables.
>
> This option supported by GCC 4.3 and later enables additional CPU detection
> and enables CPU-specific optimizations. In the interests of better
> performance this patch enables it whenever is it available and possible to
> use (cross-compilers cannot use it).

Naming convention would call for the set variable being called
squid_cv_check_marchnative.
Apart from this, if it works I'm fine with it.

--
    /kinkie
Received on Mon May 20 2013 - 12:28:50 MDT

This archive was generated by hypermail 2.2.0 : Tue May 21 2013 - 12:00:17 MDT