From 4c1d94fb9b70157f9c44b7feaf29ec585ae29276 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 29 Sep 2006 19:56:57 +0000 Subject: [PATCH] Pass -DDEBUG when doing a debug build --- source/package.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/package.cpp b/source/package.cpp index d937daf..2d5d97c 100644 --- a/source/package.cpp +++ b/source/package.cpp @@ -77,7 +77,10 @@ void Package::create_build_info() } if(strtobool(config.get_option("debug").value)) + { build_info.cflags.push_back("-ggdb"); + build_info.defines.push_back("DEBUG"); + } build_info.unique(); export_binfo.unique(); -- 2.45.2