Specify libgcc_spec after lib_spec when DESTDIR is defined to keep
consistency with the case DESTDIR is not define. This is part of PR#8369.
This commit is contained in:
parent
1a59333e1b
commit
655a89ab8a
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.12 1999/08/01 13:42:00 sommerfeld Exp $
|
||||
# $NetBSD: Makefile,v 1.13 1999/09/25 13:06:36 enami Exp $
|
||||
|
||||
PROG= doexec
|
||||
MKMAN= no
|
||||
@ -7,7 +7,7 @@ LDSTATIC= -static # only static compilation makes sense here
|
||||
|
||||
.include <bsd.own.mk> # May define DESTDIR in mk.conf..
|
||||
.if defined(DESTDIR)
|
||||
LDLIBS+= -lgcc -lc ${LIBCRTEND}
|
||||
LDLIBS+= -lgcc -lc -lgcc ${LIBCRTEND}
|
||||
GOODAOUT_LIB= -nostdlib -L${DESTDIR}/usr/lib ${LDSTATIC}
|
||||
GOODAOUT_LIB+= ${LIBCRT0} ${LIBCRTBEGIN}
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user