mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +00:00
Fix depends generation under windows
Signed-off-by: Ivan Kukhta <Ivan.Kukhta@acronis.com>
This commit is contained in:
parent
367fb985bd
commit
f347fef748
29
packages/gcc/10.2.0/0025-preprocessor-Make-quoting-PR-95253.patch
vendored
Normal file
29
packages/gcc/10.2.0/0025-preprocessor-Make-quoting-PR-95253.patch
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 1ba71fabb78b18884e9f479f45a257bab50e8959 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nathan Sidwell <nathan@acm.org>
|
||||||
|
Date: Fri, 15 Jan 2021 06:47:13 -0800
|
||||||
|
Subject: [PATCH] preprocessor: Make quoting : [PR 95253]
|
||||||
|
|
||||||
|
Make doesn't need ':' quoting (in a filename).
|
||||||
|
|
||||||
|
PR preprocessor/95253
|
||||||
|
libcpp/
|
||||||
|
* mkdeps.c (munge): Do not escape ':'.
|
||||||
|
---
|
||||||
|
libcpp/mkdeps.c | 1 -
|
||||||
|
1 file changed, 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/libcpp/mkdeps.c b/libcpp/mkdeps.c
|
||||||
|
index 471e449a19d..1867e0089d7 100644
|
||||||
|
--- a/libcpp/mkdeps.c
|
||||||
|
+++ b/libcpp/mkdeps.c
|
||||||
|
@@ -162,7 +162,6 @@ munge (const char *str, const char *trail = nullptr)
|
||||||
|
/* FALLTHROUGH */
|
||||||
|
|
||||||
|
case '#':
|
||||||
|
- case ':':
|
||||||
|
buf[dst++] = '\\';
|
||||||
|
/* FALLTHROUGH */
|
||||||
|
|
||||||
|
--
|
||||||
|
2.29.2.windows.2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user