Disable kernel opt by default on Solaris 10 and 11
authorAndrew Deason <adeason@sinenomine.net>
Mon, 6 Feb 2012 19:23:41 +0000 (13:23 -0600)
committerDerrick Brashear <shadow@dementix.org>
Tue, 7 Feb 2012 14:42:07 +0000 (06:42 -0800)
commit80592c53cbb0bce782eb39a5e64860786654be9f
treeb08c4f6cfa587ee768e1092e9c470aa52972d0da
parent3a621a8518f96e15a08448fecdfdb0cbce6a02c2
Disable kernel opt by default on Solaris 10 and 11

With newer Solaris Studio (sometime in the 12.* series), cc started
adding SSE instructions to optimized x86 code, which is invalid for
kernel code and can generate panics. There appears to be no way to
turn this off currently (-xvector=%none is non-functional), so default
to not optimizing kernel code.

Change-Id: I5fdedb11219df68e0146b8e0cee9010c2eb4067e
Reviewed-on: http://gerrit.openafs.org/6671
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
acinclude.m4
src/cf/osconf.m4