On Fri, Jul 30, 2010 at 1:45 AM, Hollis Blanchard <hol...@penguinppc.org> wrote: > From: Hollis Blanchard <hollis_blanch...@mentor.com> > > 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 <hol...@penguinppc.org> > --- > 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 > > >