summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-06-20 01:44:58 +0000
committerobrien <obrien@FreeBSD.org>2004-06-20 01:44:58 +0000
commitf777e901f95b9d46495fd1e532378e2e34cc001d (patch)
tree17a8344f8fcf966057552d85e0e6968422587a95 /gnu
parent8f6039173cb78293ba2e4d1500060392e14ac608 (diff)
downloadFreeBSD-src-f777e901f95b9d46495fd1e532378e2e34cc001d.zip
FreeBSD-src-f777e901f95b9d46495fd1e532378e2e34cc001d.tar.gz
Our 'TOOLS_PREFIX' and not 'DESTDIR' matches what the stock GNU build
framework wants.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud