[PATCH] libgloss: do not install libnosys.a with +x perms

Mike Frysinger vapier@gentoo.org
Thu Nov 3 18:06:00 GMT 2011


The install target uses $(INSTALL_PROGRAM) to install the libnosys.a
file which means it gets +x perms.  This doesn't make any sense, and
the only thing this code installs is the libnosys.a, so change it to
INSTALL_DATA instead.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

2011-11-03  Mike Frysinger  <vapier@gentoo.org>

	* libnosys/Makefile.in (install): Use INSTALL_DATA.
---
 libgloss/libnosys/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libgloss/libnosys/Makefile.in b/libgloss/libnosys/Makefile.in
index d6634fc..9deac86 100644
--- a/libgloss/libnosys/Makefile.in
+++ b/libgloss/libnosys/Makefile.in
@@ -132,7 +132,7 @@ distclean maintainer-clean realclean: clean
 install:
 	@for outputs in ${OUTPUTS}; do\
 	 mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
-	 $(INSTALL_PROGRAM) $${outputs} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
+	 $(INSTALL_DATA) $${outputs} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
 	done
 
 info:
-- 
1.7.6.1



More information about the Newlib mailing list