]> git.ipfire.org Git - thirdparty/squid.git/commit - configure.ac
Add --disable-arch-native build option
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 2 Oct 2013 12:21:20 +0000 (06:21 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 2 Oct 2013 12:21:20 +0000 (06:21 -0600)
commitc8640c9af9f43f037b7065eba138bda66c3e26ae
tree44f0980ee8bf57549585b3410c48f2906d6b9bf0
parente5962feec53b15e2dd160e8ada19bdb6e4f76149
Add --disable-arch-native build option

The -march-native option is required by Clang 3.2 on some CPU
and produces better optimization in binaries by GCC.
But building inside a virtual machine environment has been found to
cause random Illegal Instruction errors due to mis-detection of CPU.

This option is added to permit selective disabling of teh preferred
default (which is to use the compiler flag when available).
configure.ac