diff options
author | ian <ian@FreeBSD.org> | 2014-07-08 14:37:01 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-07-08 14:37:01 +0000 |
commit | bff9cb9ad4e7532e86d787dbfd5e9fa1e42f8377 (patch) | |
tree | a4cf100c36bec5ae65bc27625a4a7412e8493ea7 /share | |
parent | 85b2fd33c3673c7456c9e444d3d3f7659b26030f (diff) | |
download | FreeBSD-src-bff9cb9ad4e7532e86d787dbfd5e9fa1e42f8377.zip FreeBSD-src-bff9cb9ad4e7532e86d787dbfd5e9fa1e42f8377.tar.gz |
Support CXXFLAGS.${MACHINE_ARCH} as well as CFLAGS. This allows different
C++ options for toolchain versus target when cross-building.
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.cpu.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index f858a49..f786109 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -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}} |