summaryrefslogtreecommitdiff
path: root/recipes/coreutils/coreutils-6.0/coreutils-install-use-STRIP.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/coreutils/coreutils-6.0/coreutils-install-use-STRIP.patch')
-rw-r--r--recipes/coreutils/coreutils-6.0/coreutils-install-use-STRIP.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/recipes/coreutils/coreutils-6.0/coreutils-install-use-STRIP.patch b/recipes/coreutils/coreutils-6.0/coreutils-install-use-STRIP.patch
deleted file mode 100644
index 1af9fb97b6..0000000000
--- a/recipes/coreutils/coreutils-6.0/coreutils-install-use-STRIP.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Index: coreutils-6.0/src/install.c
-===================================================================
---- coreutils-6.0.orig/src/install.c 2009-03-04 15:37:45.000000000 -0800
-+++ coreutils-6.0/src/install.c 2009-03-04 15:38:57.000000000 -0800
-@@ -526,7 +526,14 @@
- strip (char const *name)
- {
- int status;
-- pid_t pid = fork ();
-+ pid_t pid;
-+ char *strip_name;
-+
-+ strip_name = getenv ("STRIP");
-+ if (strip_name == NULL)
-+ strip_name = "strip";
-+
-+ pid = fork ();
-
- switch (pid)
- {
-@@ -534,7 +541,7 @@
- error (EXIT_FAILURE, errno, _("fork system call failed"));
- break;
- case 0: /* Child. */
-- execlp ("strip", "strip", name, NULL);
-+ execlp (strip_name, "strip", name, NULL);
- error (EXIT_FAILURE, errno, _("cannot run strip"));
- break;
- default: /* Parent. */