1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00

Also pass the -ansi flag through to mkdep (requested by bde), and fix

a cut-and-paste-o (noticed by rdivacky).
This commit is contained in:
David Schultz 2011-10-11 05:17:26 +00:00
parent b1657d09e6
commit f4b36cb777
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226244

View File

@ -125,8 +125,8 @@ 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=*}
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}