mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Pass -std= flags in CFLAGS to mkdep. Without this, preprocessor tests
for particular compiler features might be evaluated differently by mkdep than they would be by cc.
This commit is contained in:
parent
8be736b2b3
commit
085f20ec39
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226216
@ -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]*}
|
||||
MKDEP_CXXFLAGS= ${CXXFLAGS:M-nostdinc*} ${CXXFLAGS:M-[BIDU]*}
|
||||
MKDEP_CFLAGS= ${CFLAGS:M-nostdinc*} ${CFLAGS:M-[BIDU]*} ${CFLAGS:M-std=*}
|
||||
MKDEP_CXXFLAGS= ${CXXFLAGS:M-nostdinc*} ${CXXFLAGS:M-[BIDU]*} ${CFLAGS:M-std=*}
|
||||
|
||||
DPSRCS+= ${SRCS}
|
||||
${DEPENDFILE}: ${DPSRCS}
|
||||
|
Loading…
Reference in New Issue
Block a user