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/08/19 22:35:33 UTC

[8/9] git commit: Debugging flags for Sun C

Debugging flags for Sun C


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

Branch: refs/heads/master
Commit: 21adc1f9679f7497df88b5d88f204ce6499b297d
Parents: 5b8f2b8
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Tue Aug 19 17:42:20 2014 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Tue Aug 19 22:32:10 2014 +0200

----------------------------------------------------------------------
 src/Charmonizer/Core/CFlags.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/blob/21adc1f9/src/Charmonizer/Core/CFlags.c
----------------------------------------------------------------------
diff --git a/src/Charmonizer/Core/CFlags.c b/src/Charmonizer/Core/CFlags.c
index 8d5e490..e0f92f2 100644
--- a/src/Charmonizer/Core/CFlags.c
+++ b/src/Charmonizer/Core/CFlags.c
@@ -158,7 +158,8 @@ chaz_CFlags_enable_optimization(chaz_CFlags *flags) {
 
 void
 chaz_CFlags_enable_debugging(chaz_CFlags *flags) {
-    if (flags->style == CHAZ_CFLAGS_STYLE_GNU) {
+    if (flags->style == CHAZ_CFLAGS_STYLE_GNU
+        || flags->style == CHAZ_CFLAGS_STYLE_SUN_C) {
         chaz_CFlags_append(flags, "-g");
     }
 }