From f777e901f95b9d46495fd1e532378e2e34cc001d Mon Sep 17 00:00:00 2001 From: obrien Date: Sun, 20 Jun 2004 01:44:58 +0000 Subject: Our 'TOOLS_PREFIX' and not 'DESTDIR' matches what the stock GNU build framework wants. --- gnu/usr.bin/binutils/ld/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin') diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile index c33c79d..f31b1c2 100644 --- a/gnu/usr.bin/binutils/ld/Makefile +++ b/gnu/usr.bin/binutils/ld/Makefile @@ -13,8 +13,8 @@ SRCS+= ldcref.c ldctor.c ldemul.c ldemul-list.h ldexp.c ldfile.c \ WARNS?= 0 # ldemul.h problem (`struct option' declared inside parameter list) CFLAGS+= -DSCRIPTDIR=\"${TOOLS_PREFIX}/usr/libdata\" CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\" -CFLAGS+= -DBINDIR=\"${BINDIR}\" -DTARGET_SYSTEM_ROOT=\"${DESTDIR}\" -CFLAGS+= -DTOOLBINDIR=\"${DESTDIR}/${BINDIR}/libexec\" +CFLAGS+= -DBINDIR=\"${BINDIR}\" -DTARGET_SYSTEM_ROOT=\"${TOOLS_PREFIX}\" +CFLAGS+= -DTOOLBINDIR=\"${TOOLS_PREFIX}/${BINDIR}/libexec\" CFLAGS+= -D_GNU_SOURCE CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd NOSHARED?= yes -- cgit v1.1