diff options
author | obrien <obrien@FreeBSD.org> | 2000-12-03 00:11:19 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-12-03 00:11:19 +0000 |
commit | f7e4c191135d4a06a1e450200717dbafd0ffc821 (patch) | |
tree | b0a1eee539a585877f247c6a481383e6e1255da8 /gnu | |
parent | b34e81139a862200f91025a1a58308ca77831895 (diff) | |
download | FreeBSD-src-f7e4c191135d4a06a1e450200717dbafd0ffc821.zip FreeBSD-src-f7e4c191135d4a06a1e450200717dbafd0ffc821.tar.gz |
tm.h should include the platform specific ELF header if it exists.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile | 3 |
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} |