This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] libgloss: do not install libnosys.a with +x perms
- From: Mike Frysinger <vapier at gentoo dot org>
- To: newlib at sourceware dot org
- Date: Thu, 3 Nov 2011 13:54:10 -0400
- Subject: [PATCH] libgloss: do not install libnosys.a with +x perms
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