diff options
| author | John Birrell <jb@FreeBSD.org> | 1999-11-06 21:04:46 +0000 |
|---|---|---|
| committer | John Birrell <jb@FreeBSD.org> | 1999-11-06 21:04:46 +0000 |
| commit | 3ba3ae906a6058c1054e107cb82905e55497110a (patch) | |
| tree | 289dc11d80a635678bfceefc6cbcfc65d0ab0dbb /gnu/usr.bin/binutils/libopcodes | |
| parent | 08630cfd0529b752ab6008ea34a30f957b9e0899 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/binutils/libopcodes')
| -rw-r--r-- | gnu/usr.bin/binutils/libopcodes/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/libopcodes/Makefile b/gnu/usr.bin/binutils/libopcodes/Makefile index 76448cc7a2ba..05ce09d66e5f 100644 --- a/gnu/usr.bin/binutils/libopcodes/Makefile +++ b/gnu/usr.bin/binutils/libopcodes/Makefile @@ -14,4 +14,13 @@ NOPIC= true INTERNALLIB= true INTERNALSTATICLIB=true +# 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}/bfd ${BINUTILSDISTDIR}/opcodes +CFLAGS+= -I${BINUTILSDISTDIR}/opcodes -I${BINUTILSDISTDIR}/bfd +CFLAGS+= -I${BINUTILSDISTDIR}/include +.endif + .include <bsd.lib.mk> |
