]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r257532 (by adrian):
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 30 Dec 2013 20:15:46 +0000 (20:15 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 30 Dec 2013 20:15:46 +0000 (20:15 +0000)
commit82c649de929450de329abe8a1c736279666f1345
tree30c702f66e60afd596215c426f2c846735ce2b0e
parentcecb615e960c62c3ed1ab3bb6621824134aea011
MFC r257532 (by adrian):

Fix this build for clang.

MFC r259730:

To avoid having to explicitly test COMPILER_TYPE for setting
clang-specific or gcc-specific flags, introduce the following new
variables for use in Makefiles:

CFLAGS.clang
CFLAGS.gcc
CXXFLAGS.clang
CXXFLAGS.gcc

In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for
the right compiler.

MFC r259913:

For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc.

MFC r259927:

Fix pc98 build, by also forcing COMPILER_TYPE in sys/boot/pc98/boot2's
Makefile.

Pointy hat to: dim

git-svn-id: svn://svn.freebsd.org/base/stable/9@260096 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
14 files changed:
gnu/lib/csu/Makefile
lib/libstand/Makefile
share/mk/bsd.sys.mk
sys/boot/ficl/Makefile
sys/boot/i386/Makefile.inc
sys/boot/i386/boot2/Makefile
sys/boot/pc98/Makefile.inc
sys/boot/pc98/boot2/Makefile
sys/boot/userboot/ficl/Makefile
sys/boot/userboot/libstand/Makefile
sys/boot/zfs/Makefile
tools/tools/ath/athstats/Makefile
tools/tools/net80211/wlanstats/Makefile
usr.bin/mkcsmapper/Makefile.inc