1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 417228. Escape filenames for secondary targets in

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>
This commit is contained in:
Liviu Ionescu 2013-09-18 23:38:03 +03:00 committed by Andrew Gvozdev
parent 05841be5fc
commit 59efb5abcf

View file

@ -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);
}
}