- Set the system immutable flag when installing ld.so to avoid people

accidentally clobbering it.

Submitted by:	numberous people on -current
This commit is contained in:
Nate Williams 1999-02-15 05:02:54 +00:00
parent 8ac5a460c0
commit 0b8dcbe23c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=44050

View File

@ -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}