OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_62-35-g1992b70
Gerrit Code Review
Tue, 8 Sep 2009 10:54:26 -0700 (PDT)
The following commit has been merged in the master branch:
Author: Russ Allbery <firstname.lastname@example.org>
Date: Sat Aug 22 00:31:22 2009 -0700
Only force a specific compiler where necessary
Rather than setting the compiler to cc on all platforms by default,
use the Autoconf default unless the specific compiler might matter.
Conservatively set the compiler to cc for all non-Linux, non-BSD
operating systems that previously didn't explicitly set it. Fix a
few places on Linux where the compiler was set to gcc explicitly
rather than using the Autoconf result.
Don't bother setting the Linux i386 compiler to gcc -pipe. The compile
performance difference isn't enough to bother with the special
exception, and we don't do this for other Linux systems.
With this change, setting CC at Autoconf time will correctly set the
compiler per the user's preferences unless they're on an operating
system where we care about having a particular compiler for kernel
purposes. This can be relaxed further in the future, particularly if
the kernel compiler is broken out to a separate setting.
Reviewed-by: Derrick Brashear <email@example.com>
Tested-by: Derrick Brashear <firstname.lastname@example.org>
src/cf/osconf.m4 | 77 +++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 56 insertions(+), 21 deletions(-)
OpenAFS Master Repository