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 2014/04/22 23:08:39 UTC

[lucy-commits] [3/6] git commit: refs/heads/master - Set -fvisibility flag via charmonizer

Set -fvisibility flag via charmonizer


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

Branch: refs/heads/master
Commit: 87581caf5ab389700f9366c5af05a1fc245046ab
Parents: f24561f
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sat Aug 17 17:54:16 2013 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Tue Apr 22 23:05:37 2014 +0200

----------------------------------------------------------------------
 common/charmonizer.c    | 3 ++-
 common/charmonizer.main | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/87581caf/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/common/charmonizer.c b/common/charmonizer.c
index 773b578..2be5f43 100644
--- a/common/charmonizer.c
+++ b/common/charmonizer.c
@@ -7084,6 +7084,8 @@ S_add_compiler_flags(struct chaz_CLIArgs *args) {
 
     chaz_CFlags_add_define(extra_cflags, "CFP_LUCY", NULL);
     chaz_CFlags_add_define(extra_cflags, "CFP_TESTLUCY", NULL);
+
+    chaz_CFlags_hide_symbols(extra_cflags);
 }
 
 static int
@@ -7202,7 +7204,6 @@ S_write_makefile(struct chaz_CLIArgs *chaz_args,
     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);
     if (chaz_args->code_coverage) {
         chaz_CFlags_enable_code_coverage(makefile_cflags);
     }

http://git-wip-us.apache.org/repos/asf/lucy/blob/87581caf/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/common/charmonizer.main b/common/charmonizer.main
index f698987..1263de0 100644
--- a/common/charmonizer.main
+++ b/common/charmonizer.main
@@ -86,6 +86,8 @@ S_add_compiler_flags(struct chaz_CLIArgs *args) {
 
     chaz_CFlags_add_define(extra_cflags, "CFP_LUCY", NULL);
     chaz_CFlags_add_define(extra_cflags, "CFP_TESTLUCY", NULL);
+
+    chaz_CFlags_hide_symbols(extra_cflags);
 }
 
 static int
@@ -204,7 +206,6 @@ S_write_makefile(struct chaz_CLIArgs *chaz_args,
     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);
     if (chaz_args->code_coverage) {
         chaz_CFlags_enable_code_coverage(makefile_cflags);
     }