summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-05-03 21:37:06 +0000
committerobrien <obrien@FreeBSD.org>2001-05-03 21:37:06 +0000
commitda7be50dfe1c0f85e78e8aae8199fd54563b57d1 (patch)
tree85f7fb7e8d895df6173fe785aa1f9c5336281c7d /gnu
parent9ede0768be8a5ace1b5a174a79a479ee35ced977 (diff)
downloadFreeBSD-src-da7be50dfe1c0f85e78e8aae8199fd54563b57d1.zip
FreeBSD-src-da7be50dfe1c0f85e78e8aae8199fd54563b57d1.tar.gz
Total hack to fix broken bootstrap. Add -I/usr/src/include at the tail
end of the include searching. We really need a real fix for the issue of which set of headers to use in compiling the cross-tools -- /usr/include, or /usr/src/include.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile
index 056af41..ac4e16e 100644
--- a/gnu/usr.bin/binutils/ld/Makefile
+++ b/gnu/usr.bin/binutils/ld/Makefile
@@ -11,6 +11,7 @@ SRCS+= ldcref.c ldctor.c ldemul.c ldemul-list.h ldexp.c ldfile.c \
ldver.c ldwrite.c lexsup.c mri.c
CFLAGS+= -DSCRIPTDIR=\"${DESTDIR}/usr/libdata\"
CFLAGS+= -I${SRCDIR}/ld
+CFLAGS+= -I${.CURDIR}/../../../../include
CFLAGS+= -DVERSION=\"${VERSION}\" -DBFD_VERSION=\"${VERSION}\"
NOSHARED?= yes
DPADD= ${RELTOP}/libbfd/libbfd.a
OpenPOWER on IntegriCloud