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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 21 May 2013 17:39:59 +1200

On 21/05/2013 12:28 a.m., Kinkie wrote:
> On Sat, May 18, 2013 at 1:36 PM, Amos Jeffries 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.

Okay. Done and applied as trunk rev.12842

Amos
Received on Tue May 21 2013 - 05:40:05 MDT

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