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/02/12 21:11:52 UTC

[lucy-commits] [4/8] git commit: refs/heads/c-bindings-cfc - Set CC makefile variable

Set CC makefile variable


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/7e2a4efa
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/7e2a4efa
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/7e2a4efa

Branch: refs/heads/c-bindings-cfc
Commit: 7e2a4efa00d87d88533d66a4c0d412626bb7f3be
Parents: 36f5753
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sun Feb 10 22:10:47 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sun Feb 10 22:10:47 2013 +0100

----------------------------------------------------------------------
 clownfish/compiler/common/charmonizer.main |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/7e2a4efa/clownfish/compiler/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/clownfish/compiler/common/charmonizer.main b/clownfish/compiler/common/charmonizer.main
index db2d3b9..e8b6f28 100644
--- a/clownfish/compiler/common/charmonizer.main
+++ b/clownfish/compiler/common/charmonizer.main
@@ -135,6 +135,8 @@ S_write_makefile() {
     chaz_MakeFile_add_var(makefile, "LEMON_EXE",
                           "$(LEMON_DIR)" DIR_SEP "lemon$(EXE_EXT)");
 
+    chaz_MakeFile_add_var(makefile, "CC", chaz_CC_get_cc());
+
     chaz_CC_set_optimization_level("2");
     chaz_CC_add_include_dir(".");
     chaz_CC_add_include_dir("$(INCLUDE_DIR)");