From 655a89ab8aca8e783d6fbf77c8a588f0facc7b84 Mon Sep 17 00:00:00 2001 From: enami Date: Sat, 25 Sep 1999 13:06:36 +0000 Subject: [PATCH] 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. --- regress/sys/kern/execve/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/sys/kern/execve/Makefile b/regress/sys/kern/execve/Makefile index 0cb8caef1f58..014c3eb1f6f3 100644 --- a/regress/sys/kern/execve/Makefile +++ b/regress/sys/kern/execve/Makefile @@ -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 # 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