From 12bcba664610a6f5c52580c115b090e4e9cc7fdb Mon Sep 17 00:00:00 2001 From: nate Date: Mon, 15 Feb 1999 05:02:54 +0000 Subject: - Set the system immutable flag when installing ld.so to avoid people accidentally clobbering it. Submitted by: numberous people on -current --- libexec/rtld-elf/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libexec') 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} -- cgit v1.1