provide a variable pointing to the directory where
the gcc provided crt*.o are located
This commit is contained in:
parent
9e0e8676f1
commit
672eca1975
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.gcc.mk,v 1.1 2003/05/31 20:33:15 thorpej Exp $
|
||||
# $NetBSD: bsd.gcc.mk,v 1.2 2003/06/27 17:13:27 drochner Exp $
|
||||
|
||||
.if !defined(_BSD_GCC_MK_)
|
||||
_BSD_GCC_MK_=1
|
||||
@ -8,12 +8,14 @@ _GCC_CRTBEGIN!= ${CC} --print-file-name=crtbegin.o
|
||||
_GCC_CRTBEGINS!= ${CC} --print-file-name=crtbeginS.o
|
||||
_GCC_CRTEND!= ${CC} --print-file-name=crtend.o
|
||||
_GCC_CRTENDS!= ${CC} --print-file-name=crtendS.o
|
||||
_GCC_CRTDIR!= dirname ${_GCC_CRTBEGIN}
|
||||
_GCC_LIBGCCDIR!= dirname `${CC} --print-libgcc-file-name`
|
||||
.else
|
||||
_GCC_CRTBEGIN= ${DESTDIR}/usr/lib/crtbegin.o
|
||||
_GCC_CRTBEGINS= ${DESTDIR}/usr/lib/crtbeginS.o
|
||||
_GCC_CRTEND= ${DESTDIR}/usr/lib/crtend.o
|
||||
_GCC_CRTENDS= ${DESTDIR}/usr/lib/crtendS.o
|
||||
_GCC_CRTDIR= ${DESTDIR}/usr/lib
|
||||
_GCC_LIBGCCDIR= ${DESTDIR}/usr/lib
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user