summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1999-02-15 05:02:54 +0000
committernate <nate@FreeBSD.org>1999-02-15 05:02:54 +0000
commit12bcba664610a6f5c52580c115b090e4e9cc7fdb (patch)
tree35d8a3dcf0eb5db1934c00457810e9846909c8c3 /libexec
parent639823f32c25e6231115176d1dfe72c30034b6dc (diff)
downloadFreeBSD-src-12bcba664610a6f5c52580c115b090e4e9cc7fdb.zip
FreeBSD-src-12bcba664610a6f5c52580c115b090e4e9cc7fdb.tar.gz
- Set the system immutable flag when installing ld.so to avoid people
accidentally clobbering it. Submitted by: numberous people on -current
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index e565161..f6a1054 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.3 1998/08/17 04:59:15 jdp Exp $
+# $Id: Makefile,v 1.4 1998/09/04 19:03:57 dfr Exp $
#
PROG= ld-elf.so.1
@@ -9,6 +9,7 @@ NOMAN= true
CFLAGS+= -fpic -Wall -DFREEBSD_ELF -I${.CURDIR}
LDADD+= -lc_pic
+
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -mno-fp-regs
LDFLAGS+= -nostdlib -Wl,-Bshareable,-Bsymbolic -e .rtld_start
@@ -18,7 +19,7 @@ LDFLAGS+= -elf -nostdlib -Wl,-Bshareable,-Bsymbolic
.endif
# Atomic installation with "-C" is very important for this program.
-INSTALLFLAGS+= -C
+INSTALLFLAGS+= -fschg -C
.PATH: ${.CURDIR}/${MACHINE_ARCH}
OpenPOWER on IntegriCloud