svn commit: r239613 - head/share/mk
Dimitry Andric
dim at FreeBSD.org
Thu Aug 23 17:03:34 UTC 2012
Author: dim
Date: Thu Aug 23 17:03:33 2012
New Revision: 239613
URL: http://svn.freebsd.org/changeset/base/239613
Log:
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
Modified:
head/share/mk/bsd.dep.mk
Modified: head/share/mk/bsd.dep.mk
==============================================================================
--- head/share/mk/bsd.dep.mk Thu Aug 23 16:25:36 2012 (r239612)
+++ head/share/mk/bsd.dep.mk Thu Aug 23 17:03:33 2012 (r239613)
@@ -125,8 +125,10 @@ depend: beforedepend ${DEPENDFILE} after
# 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}
More information about the svn-src-all
mailing list