mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Revert r274200. Implicitly setting DEBUG_FLAGS when WITH_CTF is true is
not the right way to do this. Requested by: kan
This commit is contained in:
parent
9e9c431823
commit
e977d70f45
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274299
@ -36,7 +36,7 @@ NO_WERROR=
|
||||
.if defined(DEBUG_FLAGS)
|
||||
CFLAGS+= ${DEBUG_FLAGS}
|
||||
|
||||
.if ${MK_CTF} != "no"
|
||||
.if ${MK_CTF} != "no" && ${DEBUG_FLAGS:M-g} != ""
|
||||
CTFFLAGS+= -g
|
||||
.endif
|
||||
.else
|
||||
|
@ -128,7 +128,6 @@ __<bsd.own.mk>__:
|
||||
|
||||
.if ${MK_CTF} != "no"
|
||||
CTFCONVERT_CMD= ${CTFCONVERT} ${CTFFLAGS} ${.TARGET}
|
||||
DEBUG_FLAGS+= -g
|
||||
.elif defined(.PARSEDIR) || (defined(MAKE_VERSION) && ${MAKE_VERSION} >= 5201111300)
|
||||
CTFCONVERT_CMD=
|
||||
.else
|
||||
|
@ -20,7 +20,7 @@ NO_WERROR=
|
||||
CFLAGS+=${DEBUG_FLAGS}
|
||||
CXXFLAGS+=${DEBUG_FLAGS}
|
||||
|
||||
.if ${MK_CTF} != "no"
|
||||
.if ${MK_CTF} != "no" && ${DEBUG_FLAGS:M-g} != ""
|
||||
CTFFLAGS+= -g
|
||||
.endif
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user