aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1999-02-15 05:02:54 +0000
committerNate Williams <nate@FreeBSD.org>1999-02-15 05:02:54 +0000
commit0b8dcbe23c301f5ce9c7bf39426d2571d0b7ae42 (patch)
tree59e585eda82ae0827a22bcbde0ba700529733bcd /libexec
parent8ac5a460c0b26762e9862789400352c57822035f (diff)
downloadsrc-0b8dcbe23c301f5ce9c7bf39426d2571d0b7ae42.tar.gz
src-0b8dcbe23c301f5ce9c7bf39426d2571d0b7ae42.zip
- Set the system immutable flag when installing ld.so to avoid people
accidentally clobbering it. Submitted by: numberous people on -current
Notes
Notes: svn path=/head/; revision=44050
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 e56516101c50..f6a10544abea 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}