summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiviu Ionescu2013-09-18 16:38:03 (EDT)
committerAndrew Gvozdev2013-09-18 17:29:13 (EDT)
commit59efb5abcf20db994bbbe7d649c1c3acb3257964 (patch)
tree45caccf11a0e4a453a339dd2b0e7c1ffa79bfa65
parent05841be5fce52dd3cbcf1eb6a6b0a80af02e2db0 (diff)
downloadorg.eclipse.cdt-59efb5abcf20db994bbbe7d649c1c3acb3257964.zip
org.eclipse.cdt-59efb5abcf20db994bbbe7d649c1c3acb3257964.tar.gz
org.eclipse.cdt-59efb5abcf20db994bbbe7d649c1c3acb3257964.tar.bz2
Bug 417228. Escape filenames for secondary targets inrefs/changes/33/16433/3
GnuMakefileGenerator.java. Change-Id: Ica4808ffce9642e455983905404d9c8303bb2cd8 Signed-off-by: Liviu Ionescu <ilg@livius.net> Reviewed-on: https://git.eclipse.org/r/16433 Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com> IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com> Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java
index 22aa3e8..8c275d9 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java
@@ -3880,6 +3880,10 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator2 {
for (int i=0; i<filenames.size(); i++) {
String filename = filenames.get(i);
if (filename.length() > 0) {
+
+ // Bug 417288, ilg@livius.net & freidin.alex@gmail.com
+ filename = ensurePathIsGNUMakeTargetRuleCompatibleSyntax(filename);
+
buffer.append(filename + WHITESPACE + LINEBREAK);
}
}