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:
parent
b1657d09e6
commit
f4b36cb777
@ -125,8 +125,8 @@ depend: beforedepend ${DEPENDFILE} afterdepend
|
|||||||
|
|
||||||
# Different types of sources are compiled with slightly different flags.
|
# Different types of sources are compiled with slightly different flags.
|
||||||
# Split up the sources, and filter out headers and non-applicable 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_CFLAGS= ${CFLAGS:M-nostdinc*} ${CFLAGS:M-[BIDU]*} ${CFLAGS:M-std=*} ${CFLAGS:M-ansi}
|
||||||
MKDEP_CXXFLAGS= ${CXXFLAGS:M-nostdinc*} ${CXXFLAGS:M-[BIDU]*} ${CFLAGS:M-std=*}
|
MKDEP_CXXFLAGS= ${CXXFLAGS:M-nostdinc*} ${CXXFLAGS:M-[BIDU]*} ${CXXFLAGS:M-std=*} ${CXXFLAGS:M-ansi}
|
||||||
|
|
||||||
DPSRCS+= ${SRCS}
|
DPSRCS+= ${SRCS}
|
||||||
${DEPENDFILE}: ${DPSRCS}
|
${DEPENDFILE}: ${DPSRCS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user