mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
bug 294135: JUnit failures related to files with spaces in managedbuilder test suite
Fixed regression bug and updated benchmarks.
This commit is contained in:
parent
7400462cd0
commit
f2b3b42052
4 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ C_DEPS += \
|
|||
Sources/sub\ sources/func\ 3.o: ../Sources/sub\ sources/func\ 3.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: GCC C Compiler'
|
||||
gcc -I../Headers -I../Sources/sub\ sources -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"Sources/sub\ sources/func\ 3.d" -o"$@" "$<"
|
||||
gcc -I../Headers -I../Sources/sub\ sources -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"Sources/sub sources/func 3.d" -MT"Sources/sub\ sources/func\ 3.d" -o"$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ C_DEPS += \
|
|||
sub\ folder\ with\ spaces/foo\ with\ spaces.o: ../sub\ folder\ with\ spaces/foo\ with\ spaces.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: GCC C Compiler'
|
||||
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"sub\ folder\ with\ spaces/foo\ with\ spaces.d" -o"$@" "$<"
|
||||
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sub folder with spaces/foo with spaces.d" -MT"sub\ folder\ with\ spaces/foo\ with\ spaces.d" -o"$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ C_DEPS += \
|
|||
main\ with\ spaces.o: ../main\ with\ spaces.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: GCC C Compiler'
|
||||
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"main\ with\ spaces.d" -o"$@" "$<"
|
||||
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main with spaces.d" -MT"main\ with\ spaces.d" -o"$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ public class DefaultGCCDependencyCalculator2Commands implements
|
|||
if( buildContext instanceof IResourceConfiguration || needExplicitRuleForFile ) {
|
||||
IPath outPath = getDependencyFiles()[0];
|
||||
// -MT"dependency-file-name"
|
||||
String optTxt = "-MT\"" + outPath.toString() + "\""; //$NON-NLS-1$ //$NON-NLS-2$
|
||||
String optTxt = "-MT\"" + GnuMakefileGenerator.escapeWhitespaces(outPath.toString()) + "\""; //$NON-NLS-1$ //$NON-NLS-2$
|
||||
options[3] = optTxt;
|
||||
} else {
|
||||
// -MT"$(@:%.o=%.d) %.o"
|
||||
|
|
Loading…
Add table
Reference in a new issue