From 3b73fff1fcd78daec2c51922f102cd0e118c8e44 Mon Sep 17 00:00:00 2001 From: Wolfgang Lux Date: Tue, 28 Dec 2010 14:54:20 +0000 Subject: [PATCH] Add either debug=yes or debug=no to the arguments of a PC build task, since the debug variable no longer has a clear default for quite some time. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31791 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 6 ++++++ Framework/PCProjectBuilder.m | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3e30bab..d2e4879 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-12-28 Wolfgang Lux + + * Framework/PCProjectBuilder.m (-buildArguments): Add either + debug=yes or debug=no to the arguments since the debug variable no + longer has a clear default for quite some time. + 2010-12-22 German Arias * Headers/ProjectCenter/PCProject.h: diff --git a/Framework/PCProjectBuilder.m b/Framework/PCProjectBuilder.m index 6fa7db6..46b2105 100644 --- a/Framework/PCProjectBuilder.m +++ b/Framework/PCProjectBuilder.m @@ -329,7 +329,14 @@ [args addObjectsFromArray:[projectDict objectForKey:PCBuilderArguments]]; // --- Get arguments from options - if ([[projectDict objectForKey:PCBuilderDebug] isEqualToString:@"NO"]) + if ([[projectDict objectForKey:PCBuilderDebug] isEqualToString:@"YES"]) + { // there is no clear default; the default configuration of GNUstep-make + // uses debug=no (since release 2.2.1, it had debug=yes before), but + // that default can easily be changed at configuration time with the + // --enable-debug-by-default configure option. + [args addObject:@"debug=yes"]; + } + else { // default is 'debug=yes' [args addObject:@"debug=no"]; }