Last change
on this file since 26ffad7 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[c5c522c] | 1 | From: Ben Hutchings <ben@decadent.org.uk> |
---|
| 2 | Date: Wed, 09 Sep 2015 01:24:56 +0100 |
---|
| 3 | Subject: Install headers with consistent mode |
---|
| 4 | Forwarded: http://www.zytor.com/pipermail/klibc/2016-January/003891.html |
---|
| 5 | |
---|
| 6 | Currently we ensure the installed headers are readable by everyone, |
---|
| 7 | but write permissions will depend on the current umask. Turn off the |
---|
| 8 | group and other writable bits to ensure consistent results. |
---|
| 9 | |
---|
| 10 | Signed-off-by: Ben Hutchings <ben@decadent.org.uk> |
---|
| 11 | --- |
---|
| 12 | --- a/scripts/Kbuild.install |
---|
| 13 | +++ b/scripts/Kbuild.install |
---|
| 14 | @@ -102,7 +102,7 @@ header: |
---|
| 15 | ln -sf /usr/include/$(DEB_HOST_MULTIARCH)/asm $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/ || exit; \ |
---|
| 16 | fi |
---|
| 17 | $(Q)cp -rf usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. |
---|
| 18 | - $(Q)chmod -R a+rX $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include |
---|
| 19 | + $(Q)chmod -R a+rX,go-w $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include |
---|
| 20 | $(Q)$(install-data) $(srctree)/klcc/klcc.1 $(INSTALLROOT)$(mandir)/man1/$(KCROSS)klcc.1 |
---|
| 21 | $(Q)$(install-bin) $(objtree)/klcc/$(KCROSS)klcc $(INSTALLROOT)$(bindir) |
---|
| 22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.