Also add DEBUG_FLAGS to CXXFLAGS if defined.

This commit is contained in:
Marcel Moolenaar 2010-02-18 03:32:51 +00:00
parent c9a900ed44
commit 8eba8cd863
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204027

View File

@ -17,6 +17,7 @@ NO_WERROR=
.if defined(DEBUG_FLAGS) .if defined(DEBUG_FLAGS)
CFLAGS+=${DEBUG_FLAGS} CFLAGS+=${DEBUG_FLAGS}
CXXFLAGS+=${DEBUG_FLAGS}
.if !defined(NO_CTF) && (${DEBUG_FLAGS:M-g} != "") .if !defined(NO_CTF) && (${DEBUG_FLAGS:M-g} != "")
CTFFLAGS+= -g CTFFLAGS+= -g