Clarify the role of XCFLAGS and simplify MT_CFLAGS
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 11 Feb 2011 11:53:26 +0000 (11:53 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 8 Mar 2011 14:28:48 +0000 (06:28 -0800)
commit67f01c2553067a4b7592a34917ce5a5148b67142
tree0dad18dc5215d38dab6ace61399a0362948e62b1
parentffad1001532f7681e5d77c5d6030625f15f281a7
Clarify the role of XCFLAGS and simplify MT_CFLAGS

Tidy up the build system by making it clear that XCFLAGS is included
for every build type. Also clean up MT_CFLAGS so that it doesn't
statically include XCFLAGS, and remove the common AFS_PTHREAD_ENV
define that's needed by every architecture.

This fixes the problem that we had where directories built with the
pthread or shared build rules weren't being compiled with checking
enabled, as well as hopefully making the tangle of defines easier to
understand.

Change-Id: Ied6dd316147ee88dc7814f8937a204ef32c6c5e0
Reviewed-on: http://gerrit.openafs.org/4171
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/cf/osconf.m4
src/config/Makefile.config.in