Add "-C" to INSTALLFLAGS to install atomically. An elf->elf

installworld dies at this point otherwise, leaving the system
without a dynamic linker.
This commit is contained in:
John Polstra 1998-08-17 04:59:15 +00:00
parent b4869285da
commit 9d5aee94a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38377

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.1.1.1 1998/03/07 19:24:35 jdp Exp $
# $Id: Makefile,v 1.2 1998/04/30 07:47:58 dfr Exp $
#
PROG= ld-elf.so.1
@ -9,6 +9,8 @@ CFLAGS+= -elf -fpic -DFREEBSD_ELF
CFLAGS+= -Wall
LDFLAGS+= -elf -nostdlib -Wl,-Bshareable,-Bsymbolic
LDADD+= -lc_pic
# Atomic installation with "-C" is very important for this program.
INSTALLFLAGS+= -C
.PATH: ${.CURDIR}/${MACHINE}