From 1bbcfafeb7403edb502b88cf06a20e21d8cfac86 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Thu, 23 Nov 2006 22:42:07 +0000 Subject: [PATCH] the install program is run with the '-s' option which makes `install` run the 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 --- Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 6e8e310..2d225d4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -66,10 +66,10 @@ install: $(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) ] || \ -- 2.11.0