Solaris: Specify ARCHFLAGS in CFLAGS
authorAndrew Deason <adeason@sinenomine.net>
Wed, 2 Nov 2011 16:35:42 +0000 (11:35 -0500)
committerDerrick Brashear <shadow@dementix.org>
Thu, 3 Nov 2011 20:15:13 +0000 (13:15 -0700)
commit5eba97a8960c49aeea957dc94408368e1324eff0
tree220831d84d3a1e851e46c503d8a601c93b658b41
parent353aa7ef2c172f574998480d6d051b3f4e95ae7b
Solaris: Specify ARCHFLAGS in CFLAGS

Various autoconf tests which use the C compiler may yield different
results depending on whether or not we are compiling for x86 or amd64
on Solaris (different libraries are available, structures may be
different, et al). So, set CFLAGS depending on which arch we are
targeting, so the autoconf results are more consistent with the actual
compilation during the build.

Change-Id: I99ddefaabc3bb2e80abe698366b348238d51408d
Reviewed-on: http://gerrit.openafs.org/5786
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/cf/osconf.m4