]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r263373, r268402
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Jul 2014 23:21:36 +0000 (23:21 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Jul 2014 23:21:36 +0000 (23:21 +0000)
commit6d3cf716f1ec02b7fbeec51f512e69cff20f68a0
tree4a8016c56f91711d1db7232aaf0585ae5699b2f0
parent193f506c880db95a6abff8f71c205db05fcbb3ef
MFC r263373, r268402

  Add a way to apply CFLAGS only when building the given architecture.  This
  is useful primarily on a system used for cross-building, when you have a
  set of flags to apply to the TARGET_ARCH being cross-built but don't want
  those settings applied to building the cross-tools or other components that
  run on the build host machine.

  Support CXXFLAGS.${MACHINE_ARCH} as well as CFLAGS.  This allows different
  C++ options for toolchain versus target when cross-building.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269102 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/examples/etc/make.conf
share/mk/bsd.cpu.mk