summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 91eba61..34160a6 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}
OpenPOWER on IntegriCloud