Author: das
Date: Tue Oct 11 05:17:26 2011
New Revision: 226244
URL: http://svn.freebsd.org/changeset/base/226244

Log:
  Also pass the -ansi flag through to mkdep (requested by bde), and fix
  a cut-and-paste-o (noticed by rdivacky).

Modified:
  head/share/mk/bsd.dep.mk

Modified: head/share/mk/bsd.dep.mk
==============================================================================
--- head/share/mk/bsd.dep.mk    Tue Oct 11 04:40:06 2011        (r226243)
+++ head/share/mk/bsd.dep.mk    Tue Oct 11 05:17:26 2011        (r226244)
@@ -125,8 +125,8 @@ 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=*}
-MKDEP_CXXFLAGS=        ${CXXFLAGS:M-nostdinc*} ${CXXFLAGS:M-[BIDU]*} 
${CFLAGS:M-std=*}
+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}
 
 DPSRCS+= ${SRCS}
 ${DEPENDFILE}: ${DPSRCS}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to