Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2014 14:37:01 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268402 - head/share/mk
Message-ID:  <201407081437.s68Eb1nt007761@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407081437.s68Eb1nt007761>