tm.h should include the platform specific ELF header if it exists.

This commit is contained in:
David E. O'Brien 2000-12-03 00:11:19 +00:00
parent 846bd927fa
commit 6e51951114
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69535

View File

@ -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}