Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Proposed bug fix for bugzilla 83214

Hi,

Here's a proposed fix for this bugzilla 83214. It simply sets the
default build arguments to "" instead of "-k". So if the user doesn't
specify any build arguments in their plugin xml they don't automatically
get the -k flag.

If you're happy with this as fix, we'd like it to be committed to the
2.1.1 branch as well as our managed build toolchain is currently
affected. 

The patch is for the Builder.java file in
org.eclipse.cdt.managedbuilder.internal.core. Let me know if I have to
provide anything else. 

Thanks,
Tracy Miranda
Altera Europe
Index: Builder.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Builder.java,v
retrieving revision 1.2.2.1
diff -u -r1.2.2.1 Builder.java
--- Builder.java	22 Nov 2004 21:18:12 -0000	1.2.2.1
+++ Builder.java	3 Feb 2005 18:03:50 -0000
@@ -379,7 +379,7 @@
 			if (superClass != null) {
 				return superClass.getArguments();
 			} else {
-				return new String("-k"); //$NON-NLS-1$
+				return new String(""); //$NON-NLS-1$
 			}
 		}
 		return args;

Back to the top