[PATCH] Enable -march-native when available

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 18 May 2013 23:36:15 +1200

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).

Amos

Received on Sat May 18 2013 - 11:36:26 MDT

This archive was generated by hypermail 2.2.0 : Mon May 20 2013 - 12:00:09 MDT