diff options
author | jb <jb@FreeBSD.org> | 1999-11-06 22:36:40 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1999-11-06 22:36:40 +0000 |
commit | 7ed759d55a061fb1f7c2a667af23a726c2d9cf32 (patch) | |
tree | 86d0f8eb2e27c568bfb680276d17d35b5c8bb68f /gnu | |
parent | 6e12da36adde74f9d2220b99d0b35e910e5a166c (diff) | |
download | FreeBSD-src-7ed759d55a061fb1f7c2a667af23a726c2d9cf32.zip FreeBSD-src-7ed759d55a061fb1f7c2a667af23a726c2d9cf32.tar.gz |
Add a BINUTILSDISTDIR hook here too.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile index 9af66f7..0711510 100644 --- a/gnu/usr.bin/binutils/ld/Makefile +++ b/gnu/usr.bin/binutils/ld/Makefile @@ -20,6 +20,14 @@ DPADD+= ${RELTOP}/libiberty/libiberty.a CLEANDIRS+= ldscripts CLEANFILES+= ldemul-list.h +# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU +# binutils release. FreeBSD only distributes the bits that are required to +# build native architectures. BINUTILSDISTDIR is needed to build cross tools. +.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR}) +.PATH: ${BINUTILSDISTDIR}/ld +CFLAGS+= -I${BINUTILSDISTDIR}/ld +.endif + EMXFR= EMLST= .for _e in ${EMS} |