aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-02-19 10:34:50 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-02-19 10:34:50 -0800
commit15e050acd2fe598f70b86d3c376dabd7e3d46028 (patch)
tree88aa39fd643303fe60a6e76c7fbcdfb4ca444d5d /usr
parent10df6dfb13ffefe716f12136bbc667f18ff64744 (diff)
downloadlinux-2.6-klibc-15e050acd2fe598f70b86d3c376dabd7e3d46028.tar.gz
[klibc] Make sure klibc.so is +x
klibc.so should be +x, but a lot of newer binutils generate .so files as -x by default. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'usr')
-rw-r--r--usr/klibc/Kbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index 37cc485a4f9243..ad721165749d06 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -145,7 +145,8 @@ $(SOLIB).hash: $(SOLIB) $(obj)/sha1hash FORCE
quiet_cmd_sohash = GEN $@
cmd_sohash = cat $< > $@; \
- $(KLIBCSTRIP) $(KLIBCSTRIPFLAGS) $@; \
+ $(KLIBCSTRIP) $(KLIBCSTRIPFLAGS) $@; \
+ chmod a+x $@; \
rm -f $(obj)/klibc-???????????????????????????.so; \
ln -f $@ $(obj)/klibc-$(SOLIBHASH).so
$(SOHASH): $(SOLIB) $(SOLIB).hash