svn commit: r268402 - head/share/mk
Ian Lepore
ian at FreeBSD.org
Tue Jul 8 14:37:02 UTC 2014
Author: ian
Date: Tue Jul 8 14:37:01 2014
New Revision: 268402
URL: http://svnweb.freebsd.org/changeset/base/268402
Log:
Support CXXFLAGS.${MACHINE_ARCH} as well as CFLAGS. This allows different
C++ options for toolchain versus target when cross-building.
Modified:
head/share/mk/bsd.cpu.mk
Modified: head/share/mk/bsd.cpu.mk
==============================================================================
--- head/share/mk/bsd.cpu.mk Tue Jul 8 14:35:09 2014 (r268401)
+++ head/share/mk/bsd.cpu.mk Tue Jul 8 14:37:01 2014 (r268402)
@@ -260,3 +260,4 @@ CFLAGS += ${_CPUCFLAGS}
# Add in any architecture-specific CFLAGS.
# These come from make.conf or the command line or the environment.
CFLAGS += ${CFLAGS.${MACHINE_ARCH}}
+CXXFLAGS += ${CXXFLAGS.${MACHINE_ARCH}}
More information about the svn-src-all
mailing list