Received: from [140.186.70.92] (port=45285 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oeefx-0004Cx-8d for qemu-devel@nongnu.org; Thu, 29 Jul 2010 21:46:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oeefv-0003Qa-T0 for qemu-devel@nongnu.org; Thu, 29 Jul 2010 21:46:17 -0400 Received: from qmta10.emeryville.ca.mail.comcast.net ([76.96.30.17]:42513) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oeefv-0003Mo-LO for qemu-devel@nongnu.org; Thu, 29 Jul 2010 21:46:15 -0400 From: Hollis Blanchard Date: Thu, 29 Jul 2010 18:45:36 -0700 Message-Id: <1280454337-30919-1-git-send-email-hollis@penguinppc.org> Subject: [Qemu-devel] [PATCH] Use --strip-program to accommodate cross-compilers List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Hollis Blanchard , Hollis Blanchard From: Hollis Blanchard Fixes this error during make install: ... install -m0755 -p -s qemu-nbd qemu-img qemu-io "/opt/ppc440-angstrom-linux/usr/local/bin" strip: Unable to recognise the format of the input file `/opt/ppc440-angstrom-linux/usr/local/bin/qemu-nbd' Signed-off-by: Hollis Blanchard --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index b68f01a..8385b24 100755 --- a/configure +++ b/configure @@ -2157,7 +2157,7 @@ if test "$debug" = "yes" ; then echo "CONFIG_DEBUG_EXEC=y" >> $config_host_mak fi if test "$strip_opt" = "yes" ; then - echo "STRIP_OPT=-s" >> $config_host_mak + echo "STRIP_OPT=-s --strip-program=${cross_prefix}strip" >> $config_host_mak fi if test "$bigendian" = "yes" ; then echo "HOST_WORDS_BIGENDIAN=y" >> $config_host_mak -- 1.7.1.1