aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-03-02 09:21:12 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-03-02 09:21:12 +0000
commit70e163630261b8ca4ccc7e4c1e8b12e4014a3092 (patch)
tree6f8b0c62f9d8b7f4284f2bae91902fb550f5ef01 /gnu/usr.bin/cc
parentab950b59873454e0c182a9081b194fc6483fb149 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index 91eba61a73bf..34160a64e2fc 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -139,6 +139,9 @@ tm.h:
echo '#include "${GCC_ARCH}/att.h"' >> ${.TARGET}
.endif
echo '#include <freebsd.h>' >> ${.TARGET}
+.if exists(${GCCDIR}/config/${GCC_ARCH}/elf.h)
+ echo '#include "${GCC_ARCH}/elf.h"' >> ${.TARGET}
+.endif
echo '#include "${GCC_ARCH}/freebsd.h"' >> ${.TARGET}
.if ${GCC_ARCH} == "i386"
echo '#include "${GCC_ARCH}/perform.h"' >> ${.TARGET}