Use ${COPY} instead of -C for installing non-source files. crt*.o
should be installed using the same flag as libraries, but ${COPY} is currently used for libraries.
This commit is contained in:
parent
3c018e7214
commit
fd0a86436e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21158
@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Id$
|
||||
# $Id: Makefile,v 1.1 1996/10/03 23:00:09 peter Exp $
|
||||
#
|
||||
|
||||
GPPDIR= ${.CURDIR}/../../../contrib/libg++
|
||||
@ -46,7 +46,7 @@ beforeinstall:
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${GEN:S;^;${GPPDIR}/libg++/src/gen/;} \
|
||||
${DESTDIR}${PROTODIR}
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} genclass \
|
||||
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} genclass \
|
||||
${DESTDIR}${BINDIR}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
|
||||
# $Id: Makefile,v 1.24 1996/05/07 23:16:08 wosch Exp $
|
||||
# $Id: Makefile,v 1.25 1996/08/30 01:41:52 peter Exp $
|
||||
|
||||
CFLAGS+= -DLIBC_SCCS -fno-omit-frame-pointer
|
||||
OBJS= crt0.o c++rt0.o gcrt0.o scrt0.o sgcrt0.o
|
||||
@ -48,7 +48,7 @@ beforeinstall:
|
||||
|
||||
realinstall:
|
||||
.for i in ${OBJS}
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i \
|
||||
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $i \
|
||||
${DESTDIR}/usr/lib
|
||||
.endfor
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user