8199118: Filtering of filename for microsoft CL broken on newer Cygwin
Reviewed-by: erikj
--- a/make/common/NativeCompilation.gmk Tue Mar 06 10:00:49 2018 -0500
+++ b/make/common/NativeCompilation.gmk Tue Mar 06 17:24:56 2018 +0100
@@ -321,7 +321,7 @@
$$(call ExecuteWithLog, $$@, \
$$($1_$2_COMP) $$($1_$2_FLAGS) -showIncludes $$($1_$2_DEBUG_OUT_FLAGS) \
$(CC_OUT_OPTION)$$($1_$2_OBJ) $2) \
- | $(GREP) -v -e "^Note: including file:" \
+ | $(TR) -d '\r' | $(GREP) -v -e "^Note: including file:" \
-e "^$(notdir $2)$$$$" || test "$$$$?" = "1" ; \
$(ECHO) $$@: \\ > $$($1_$2_DEP) ; \
$(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_$2_OBJ).log \