OSDN Git Service

the install program is run with the '-s' option which makes `install` run the
authorDavid McCullough <davidm@snapgear.com>
Thu, 23 Nov 2006 22:42:07 +0000 (22:42 +0000)
committerDavid McCullough <davidm@snapgear.com>
Thu, 23 Nov 2006 22:42:07 +0000 (22:42 +0000)
host `strip` on the installed binary ... this certainly wont work when
cross-compiling and really, the standard is to leave stripping up to the
people doing the actual install

so attached patch simply drops the -s argument to install

Mike Frysinger <vapier@gentoo.org>

Makefile.in

index 6e8e310..2d225d4 100644 (file)
@@ -66,10 +66,10 @@ install:
        $(INSTALL) -d $(bindir)
        $(INSTALL) -d $(target_bindir)
        $(INSTALL) -d $(target_libdir)
        $(INSTALL) -d $(bindir)
        $(INSTALL) -d $(target_bindir)
        $(INSTALL) -d $(target_libdir)
-       $(INSTALL) -s -m 755 $(PROG_FLTHDR) $(bindir)/$(TARGET)-$(PROG_FLTHDR)
-       $(INSTALL) -s -m 755 $(PROG_FLTHDR) $(target_bindir)/$(PROG_FLTHDR)
-       $(INSTALL) -s -m 755 $(PROG_ELF2FLT) $(bindir)/$(TARGET)-$(PROG_ELF2FLT)
-       $(INSTALL) -s -m 755 $(PROG_ELF2FLT) $(target_bindir)/$(PROG_ELF2FLT)
+       $(INSTALL) -m 755 $(PROG_FLTHDR) $(bindir)/$(TARGET)-$(PROG_FLTHDR)
+       $(INSTALL) -m 755 $(PROG_FLTHDR) $(target_bindir)/$(PROG_FLTHDR)
+       $(INSTALL) -m 755 $(PROG_ELF2FLT) $(bindir)/$(TARGET)-$(PROG_ELF2FLT)
+       $(INSTALL) -m 755 $(PROG_ELF2FLT) $(target_bindir)/$(PROG_ELF2FLT)
        [ -f $(bindir)/$(TARGET)-ld.real$(EXEEXT) ] || \
                mv $(bindir)/$(TARGET)-ld$(EXEEXT) $(bindir)/$(TARGET)-ld.real$(EXEEXT)
        [ -f $(target_bindir)/ld.real$(EXEEXT) ] || \
        [ -f $(bindir)/$(TARGET)-ld.real$(EXEEXT) ] || \
                mv $(bindir)/$(TARGET)-ld$(EXEEXT) $(bindir)/$(TARGET)-ld.real$(EXEEXT)
        [ -f $(target_bindir)/ld.real$(EXEEXT) ] || \