From a0c0ad2340672985d521e2845c80778191f7c03a Mon Sep 17 00:00:00 2001 From: grant Date: Tue, 15 Feb 2005 08:55:55 +0000 Subject: honour LDFLAGS when linking the `bits' binary. --- pkgtools/libnbcompat/files/Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/libnbcompat/files/Makefile.in b/pkgtools/libnbcompat/files/Makefile.in index 1f275f141fd..24ea56012e6 100644 --- a/pkgtools/libnbcompat/files/Makefile.in +++ b/pkgtools/libnbcompat/files/Makefile.in @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.in,v 1.27 2004/08/23 03:32:12 jlam Exp $ +# $NetBSD: Makefile.in,v 1.28 2005/02/15 08:55:55 grant Exp $ # srcdir= @srcdir@ @@ -7,6 +7,7 @@ VPATH= @srcdir@ SHELL= /bin/sh CC= @CC@ +CCLD= @CC@ CFLAGS= -I$(srcdir) -I. @INCLUDES@ @CFLAGS@ CPPFLAGS= @CPPFLAGS@ DEFS= @DEFS@ @@ -76,8 +77,8 @@ nbcompat/nbconfig.h: nbcompat/config.h nbcompat.awk nbcompat/nbtypes.h: bits ./bits $@ -bits: bits.c - $(COMPILE) $(DEFS) -o bits bits.c +bits: bits.o + $(LINK) $< install: $(INSTALL) -m 755 -d $(prefix)/lib -- cgit v1.2.3