Support CXXFLAGS.${MACHINE_ARCH} as well as CFLAGS. This allows different

C++ options for toolchain versus target when cross-building.
This commit is contained in:
Ian Lepore 2014-07-08 14:37:01 +00:00
parent 1e3d53c687
commit cc55c7c78f

View File

@ -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}}