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 20:11:37 UTC
[8/8] 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/76c2a9d8
Tree: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/tree/76c2a9d8
Diff: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/diff/76c2a9d8
Branch: refs/heads/solaris_fixes
Commit: 76c2a9d8a9b14df4091470d6a05f5cae5f6ed34b
Parents: aa0cee0
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 20:02:12 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/76c2a9d8/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");
}
}