swr: Add arch flags to support Cray and PGI compilers
authorChuck Atkins <chuck.atkins@kitware.com>
Mon, 31 Jul 2017 19:53:13 +0000 (15:53 -0400)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 3 Aug 2017 16:06:50 +0000 (11:06 -0500)
commitf0da70a96432dff8f9ebf054b352ce9db45f3ad6
tree8c3218e36b788630cd8a2d00f9276ab3ff33c85b
parent9966c85e01a4344d2a6bb76e432e0bed70d52ff6
swr: Add arch flags to support Cray and PGI compilers

Note that the Cray flags (-target-cpu=) need to come first since the
cray programming environment uses wappers around other compilers.  By
checking the wrapper flags first, you can be sure to match the wrapper
flag instead of the underlying compiler (gcc, intel, pgi, etc.) flags.

Signed-off-by: Chuck Atkins <chuck.atkins@kitware.com>
Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>
configure.ac