]> CyberLeo.Net >> Repos - FreeBSD/stable/10.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)
commit55eef3715dcda5d9cd44eb09ae955331c9b04905
tree0dad04d1ac565d14d7c55b2a8173f9128cc6509e
parent407dcba25abf4fd8ae3f6992706224057ebd50a1
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/10@260096 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
21 files changed:
gnu/lib/csu/Makefile
gnu/lib/libgcc/Makefile
gnu/lib/libstdc++/Makefile
gnu/lib/libsupc++/Makefile
lib/atf/libatf-c/tests/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/usb/Makefile
sys/boot/usb/Makefile.test
sys/boot/userboot/ficl/Makefile
sys/boot/userboot/libstand/Makefile
sys/boot/zfs/Makefile
sys/conf/Makefile.arm
tools/tools/ath/athstats/Makefile
tools/tools/net80211/wlanstats/Makefile
usr.bin/mkcsmapper/Makefile.inc