summaryrefslogtreecommitdiffstats
path: root/patches/sudo-1.7.2p6/0001-install-sh-disable-stripping.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/sudo-1.7.2p6/0001-install-sh-disable-stripping.patch')
-rw-r--r--patches/sudo-1.7.2p6/0001-install-sh-disable-stripping.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/patches/sudo-1.7.2p6/0001-install-sh-disable-stripping.patch b/patches/sudo-1.7.2p6/0001-install-sh-disable-stripping.patch
new file mode 100644
index 000000000..c8421a5a2
--- /dev/null
+++ b/patches/sudo-1.7.2p6/0001-install-sh-disable-stripping.patch
@@ -0,0 +1,29 @@
+From 0c293e823cbe169ed09f1be263ff22e57b9d03ef Mon Sep 17 00:00:00 2001
+From: Marc Kleine-Budde <mkl@pengutronix.de>
+Date: Wed, 13 Jan 2010 09:29:27 +0100
+Subject: [PATCH] install-sh: disable stripping
+
+This patch disables stripping because the install-sh would use
+/usr/bin/strip which doesn't work during cross compilation.
+
+Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
+---
+ install-sh | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/install-sh b/install-sh
+index 5a6d399..e9a70b5 100755
+--- a/install-sh
++++ b/install-sh
+@@ -138,7 +138,7 @@ while ${MORETODO} ; do
+ fi
+ ;;
+ X-s)
+- STRIPIT=true
++ STRIPIT=false
+ ;;
+ X--)
+ shift
+--
+1.6.6
+