Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2012 17:03:34 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239613 - head/share/mk
Message-ID:  <201208231703.q7NH3YgS062575@svn.freebsd.org>

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



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