qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Use --strip-program to accommodate cross-compilers


From: Hollis Blanchard
Subject: [Qemu-devel] [PATCH] Use --strip-program to accommodate cross-compilers
Date: Thu, 29 Jul 2010 18:45:36 -0700

From: Hollis Blanchard <address@hidden>

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 <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]