You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2013/12/14 14:48:47 UTC
[lucy-commits] [4/6] git commit: refs/heads/master - Add debugging information to
Clownfish C build
Add debugging information to Clownfish C build
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/f30da874
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/f30da874
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/f30da874
Branch: refs/heads/master
Commit: f30da874d2c6456c806240392a7e1a66bf6020e3
Parents: f783f28
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sat Dec 14 14:37:25 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Dec 14 14:46:47 2013 +0100
----------------------------------------------------------------------
clownfish/runtime/common/charmonizer.main | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/f30da874/clownfish/runtime/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/clownfish/runtime/common/charmonizer.main b/clownfish/runtime/common/charmonizer.main
index 72ccee1..5db08b1 100644
--- a/clownfish/runtime/common/charmonizer.main
+++ b/clownfish/runtime/common/charmonizer.main
@@ -190,6 +190,7 @@ S_write_makefile(struct chaz_CLIArgs *args) {
makefile_cflags = chaz_CC_new_cflags();
chaz_CFlags_enable_optimization(makefile_cflags);
+ chaz_CFlags_enable_debugging(makefile_cflags);
chaz_CFlags_disable_strict_aliasing(makefile_cflags);
chaz_CFlags_compile_shared_library(makefile_cflags);
chaz_CFlags_hide_symbols(makefile_cflags);
@@ -263,6 +264,7 @@ S_write_makefile(struct chaz_CLIArgs *args) {
chaz_MakeFile_add_rule(makefile, "$(CLOWNFISH_OBJS)", "autogen");
link_flags = chaz_CC_new_cflags();
+ chaz_CFlags_enable_debugging(link_flags);
if (math_library) {
chaz_CFlags_add_external_library(link_flags, math_library);
}