[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Use --strip-program to accommodate cross-compi
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH] Use --strip-program to accommodate cross-compilers |
Date: |
Fri, 30 Jul 2010 14:06:55 +0000 |
On Fri, Jul 30, 2010 at 1:45 AM, Hollis Blanchard <address@hidden> wrote:
> 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
This flag is not supported by for example OpenBSD install command.
Instead stripping and installing could be broken down to two separate
commands.
> fi
> if test "$bigendian" = "yes" ; then
> echo "HOST_WORDS_BIGENDIAN=y" >> $config_host_mak
> --
> 1.7.1.1
>
>
>