artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26a0a4c
)
Install a copy of ld.so into /sbin. Soon to be used in order to make "static"
author
pascal
<pascal@openbsd.org>
Tue, 16 Dec 2014 20:53:12 +0000
(20:53 +0000)
committer
pascal
<pascal@openbsd.org>
Tue, 16 Dec 2014 20:53:12 +0000
(20:53 +0000)
PIE possible.
ok deraadt@ tedu@
libexec/ld.so/Makefile
patch
|
blob
|
history
diff --git
a/libexec/ld.so/Makefile
b/libexec/ld.so/Makefile
index
796a5b4
..
612d46a
100644
(file)
--- a/
libexec/ld.so/Makefile
+++ b/
libexec/ld.so/Makefile
@@
-1,4
+1,4
@@
-# $OpenBSD: Makefile,v 1.5
0 2014/06/21 08:00:22 otto
Exp $
+# $OpenBSD: Makefile,v 1.5
1 2014/12/16 20:53:12 pascal
Exp $
SUBDIR=ldconfig ldd
MAN= ld.so.1
@@
-51,6
+51,10
@@
$(PROG): $(test_prog)
cp $(candidate) $@
.endif
+afterinstall:
+ ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
+ ${.OBJDIR}/ld.so ${DESTDIR}/sbin/ld.so
+
.include <bsd.prog.mk>
boot.o: boot.c