]> git.tdb.fi Git - builder.git/commitdiff
Pass -DDEBUG when doing a debug build
authorMikko Rasa <tdb@tdb.fi>
Fri, 29 Sep 2006 19:56:57 +0000 (19:56 +0000)
committerMikko Rasa <tdb@tdb.fi>
Fri, 29 Sep 2006 19:56:57 +0000 (19:56 +0000)
source/package.cpp

index d937daf7d920a7a5bd760ced3a0ad281184e42a4..2d5d97ccd49a4a8585c8ae573b549b0569eefb90 100644 (file)
@@ -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();