summaryrefslogtreecommitdiffstats
path: root/package/ccache/0001-Convert-argument-to-sysroot-option-to-relative-path.patch
diff options
context:
space:
mode:
authorAsaf Kahlon <asafka7@gmail.com>2018-08-25 18:47:37 +0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-25 19:34:06 +0200
commitb743cb408a357a330f76410c82c8f2fcaa850a6f (patch)
tree3bdfbf81f73672d239a8032ca034f2254166a155 /package/ccache/0001-Convert-argument-to-sysroot-option-to-relative-path.patch
parent0aade4df1f80d7bff58da2b5d3dfd9d8d6ec4b7d (diff)
downloadbuildroot-b743cb408a357a330f76410c82c8f2fcaa850a6f.tar.gz
buildroot-b743cb408a357a330f76410c82c8f2fcaa850a6f.zip
ccache: bump to version 3.4.2
Update license info, and remove the patch since it's already on upstream. Signed-off-by: Asaf Kahlon <asafka7@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/ccache/0001-Convert-argument-to-sysroot-option-to-relative-path.patch')
-rw-r--r--package/ccache/0001-Convert-argument-to-sysroot-option-to-relative-path.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/package/ccache/0001-Convert-argument-to-sysroot-option-to-relative-path.patch b/package/ccache/0001-Convert-argument-to-sysroot-option-to-relative-path.patch
deleted file mode 100644
index 33db7d480f..0000000000
--- a/package/ccache/0001-Convert-argument-to-sysroot-option-to-relative-path.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From fe42d6f7b739e8d42811bf46bcccfafa728847a2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Mathias=20De=20Mar=C3=A9?= <mathias.de_mare@nokia.com>
-Date: Mon, 19 Sep 2016 10:38:13 +0200
-Subject: [PATCH] Convert argument to '--sysroot' option to relative path
-
-Previously, only the argument to '--sysroot=' was converted.
-This changeset adds support for '--sysroot'.
-
-Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
-Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
----
- ccache.c | 15 +++++++++++++++
- 1 file changed, 15 insertions(+)
-
-diff --git a/ccache.c b/ccache.c
-index 8ffadcc..76139b9 100644
---- a/ccache.c
-+++ b/ccache.c
-@@ -2407,6 +2407,21 @@ cc_process_args(struct args *args, struct args **preprocessor_args,
- free(option);
- continue;
- }
-+ // Alternate form of specifying sysroot without =
-+ if (str_eq(argv[i], "--sysroot")) {
-+ if (i == argc-1) {
-+ cc_log("Missing argument to %s", argv[i]);
-+ stats_update(STATS_ARGS);
-+ result = false;
-+ goto out;
-+ }
-+ args_add(stripped_args, argv[i]);
-+ char *relpath = make_relative_path(x_strdup(argv[i+1]));
-+ args_add(stripped_args, relpath);
-+ i++;
-+ free(relpath);
-+ continue;
-+ }
- if (str_startswith(argv[i], "-Wp,")) {
- if (str_eq(argv[i], "-Wp,-P")
- || strstr(argv[i], ",-P,")
---
-2.8.3
-
OpenPOWER on IntegriCloud