From 8eba8cd8635cb157c010d3aa4030a47bb3cb8ee7 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Thu, 18 Feb 2010 03:32:51 +0000 Subject: [PATCH] Also add DEBUG_FLAGS to CXXFLAGS if defined. --- share/mk/bsd.prog.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index c8f2f723c834..4de78cb921e2 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -17,6 +17,7 @@ NO_WERROR= .if defined(DEBUG_FLAGS) CFLAGS+=${DEBUG_FLAGS} +CXXFLAGS+=${DEBUG_FLAGS} .if !defined(NO_CTF) && (${DEBUG_FLAGS:M-g} != "") CTFFLAGS+= -g