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/07/24 14:08:35 UTC

git commit: Regenerate charmonizer.c to fix shared lib cflags

Repository: lucy-clownfish
Updated Branches:
  refs/heads/master 5b58deb50 -> e57c502a8


Regenerate charmonizer.c to fix shared lib cflags


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

Branch: refs/heads/master
Commit: e57c502a838cb1efaccc974ea5618f02d292b8ae
Parents: 5b58deb
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Thu Jul 24 14:07:58 2014 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Thu Jul 24 14:07:58 2014 +0200

----------------------------------------------------------------------
 compiler/common/charmonizer.c | 2 +-
 runtime/common/charmonizer.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/e57c502a/compiler/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/compiler/common/charmonizer.c b/compiler/common/charmonizer.c
index d139b23..15b70aa 100644
--- a/compiler/common/charmonizer.c
+++ b/compiler/common/charmonizer.c
@@ -1842,7 +1842,7 @@ chaz_CFlags_compile_shared_library(chaz_CFlags *flags) {
     if (flags->style == CHAZ_CFLAGS_STYLE_MSVC) {
         string = "/MD";
     }
-    else if (flags->style != CHAZ_CFLAGS_STYLE_GNU) {
+    else if (flags->style == CHAZ_CFLAGS_STYLE_GNU) {
         const char *shlib_ext = chaz_OS_shared_lib_ext();
         if (strcmp(shlib_ext, ".dylib") == 0) {
             string = "-fno-common";

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/e57c502a/runtime/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/runtime/common/charmonizer.c b/runtime/common/charmonizer.c
index e5577e8..8b53814 100644
--- a/runtime/common/charmonizer.c
+++ b/runtime/common/charmonizer.c
@@ -1842,7 +1842,7 @@ chaz_CFlags_compile_shared_library(chaz_CFlags *flags) {
     if (flags->style == CHAZ_CFLAGS_STYLE_MSVC) {
         string = "/MD";
     }
-    else if (flags->style != CHAZ_CFLAGS_STYLE_GNU) {
+    else if (flags->style == CHAZ_CFLAGS_STYLE_GNU) {
         const char *shlib_ext = chaz_OS_shared_lib_ext();
         if (strcmp(shlib_ext, ".dylib") == 0) {
             string = "-fno-common";