]> git.ipfire.org Git - thirdparty/squid.git/commit
Detect and use -march=natuve when possible
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 21 May 2013 05:39:18 +0000 (23:39 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 21 May 2013 05:39:18 +0000 (23:39 -0600)
commite9d3951bb6860b45a9487dee59c34ccde443f735
tree419cb69f1ae398b5b80d4c8e9ba2582964a3b2df
parent5f84968c5834fa28bf9c5485e34948ae3e09b952
Detect and use -march=natuve when possible

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