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:48 UTC
[lucy-commits] [5/6] git commit: refs/heads/master - Add debugging information to
Lucy C build
Add debugging information to Lucy C build
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/ddbd9293
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/ddbd9293
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/ddbd9293
Branch: refs/heads/master
Commit: ddbd9293d08a774869bc9a3aa610da45e5033237
Parents: f30da87
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sat Dec 14 14:38:41 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Dec 14 14:46:47 2013 +0100
----------------------------------------------------------------------
common/charmonizer.main | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/ddbd9293/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/common/charmonizer.main b/common/charmonizer.main
index 05172db..78aac94 100644
--- a/common/charmonizer.main
+++ b/common/charmonizer.main
@@ -215,6 +215,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);
@@ -328,6 +329,7 @@ S_write_makefile(struct chaz_CLIArgs *args) {
free(scratch);
link_flags = chaz_CC_new_cflags();
+ chaz_CFlags_enable_debugging(link_flags);
chaz_CFlags_add_library_path(link_flags, cfr_dir);
if (math_lib) {
chaz_CFlags_add_external_library(link_flags, math_lib);