diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-02-07 20:22:38 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-02-07 20:22:38 +0000 |
commit | 43ab06e9f45fac58b8c980497f557c09125d3de3 (patch) | |
tree | 087774f2dbedb18bcc29e0ba1646d93a44104a54 /infrastructure | |
parent | 202d397e56ab4887284337d42fedb6fd0064c4b1 (diff) |
Compile debug builds with glibc debugging containers.
Make the release and debug options more similar.
Diffstat (limited to 'infrastructure')
-rwxr-xr-x | infrastructure/makebuildenv.pl.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/infrastructure/makebuildenv.pl.in b/infrastructure/makebuildenv.pl.in index 005f2d25..2e698fa6 100755 --- a/infrastructure/makebuildenv.pl.in +++ b/infrastructure/makebuildenv.pl.in @@ -571,13 +571,14 @@ DEFAULT_CXXFLAGS = @CPPFLAGS@ $default_cxxflags @CXXFLAGS_STRICT@ \\ LDFLAGS += @LDFLAGS@ @LDADD_RDYNAMIC@ .ifdef RELEASE -CXXFLAGS += -DBOX_RELEASE_BUILD $release_flags \$(DEFAULT_CXXFLAGS) +CXXFLAGS += \$(DEFAULT_CXXFLAGS) -DBOX_RELEASE_BUILD $release_flags OUTBASE = ../../release OUTDIR = ../../release/$mod DEPENDMAKEFLAGS = -D RELEASE VARIENT = RELEASE .else -CXXFLAGS += -g \$(DEFAULT_CXXFLAGS) +# http://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode_using.html#debug_mode.using.mode +CXXFLAGS += \$(DEFAULT_CXXFLAGS) -g -O0 -D_GLIBCXX_DEBUG OUTBASE = ../../debug OUTDIR = ../../debug/$mod DEPENDMAKEFLAGS = |