diff options
author | dim <dim@FreeBSD.org> | 2012-08-23 17:03:33 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-08-23 17:03:33 +0000 |
commit | e5fcc9da66304f2d9f5b283d74a07fa69996ac6f (patch) | |
tree | cee13d53dead20971824641b8714f711aad6174c /share/mk | |
parent | 6329a0ea94f171552c8f2ce006a60ea4d40bf5ad (diff) | |
download | FreeBSD-src-e5fcc9da66304f2d9f5b283d74a07fa69996ac6f.zip FreeBSD-src-e5fcc9da66304f2d9f5b283d74a07fa69996ac6f.tar.gz |
Make sure bsd.dep.mk does not filter out -stdlib=xxx from CXXFLAGS,
since this determines parts of the C++ include path.
MFC after: 1 week
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.dep.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index 1d4a2c5..5e4ec0b 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -125,8 +125,10 @@ depend: beforedepend ${DEPENDFILE} afterdepend # Different types of sources are compiled with slightly different flags. # Split up the sources, and filter out headers and non-applicable flags. -MKDEP_CFLAGS= ${CFLAGS:M-nostdinc*} ${CFLAGS:M-[BIDU]*} ${CFLAGS:M-std=*} ${CFLAGS:M-ansi} -MKDEP_CXXFLAGS= ${CXXFLAGS:M-nostdinc*} ${CXXFLAGS:M-[BIDU]*} ${CXXFLAGS:M-std=*} ${CXXFLAGS:M-ansi} +MKDEP_CFLAGS= ${CFLAGS:M-nostdinc*} ${CFLAGS:M-[BIDU]*} ${CFLAGS:M-std=*} \ + ${CFLAGS:M-ansi} +MKDEP_CXXFLAGS= ${CXXFLAGS:M-nostdinc*} ${CXXFLAGS:M-[BIDU]*} \ + ${CXXFLAGS:M-std=*} ${CXXFLAGS:M-ansi} ${CXXFLAGS:M-stdlib=*} DPSRCS+= ${SRCS} ${DEPENDFILE}: ${DPSRCS} |