Fix bootstrapping ldd after r362152

r362152 started using DF_1_PIE, which is not present in older versions
of sys/elf_common.h. To fix this include the ELF headers as part of -legacy.
This commit is contained in:
Alex Richardson 2020-08-11 16:46:33 +00:00
parent 1a18ab420b
commit 313232ddf9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364120

View File

@ -92,6 +92,12 @@ DISKINCS+= ${SRCTOP}/sys/sys/disk/bsd.h
SYSINCS+= ${SRCTOP}/sys/sys/nv.h ${SRCTOP}/sys/sys/cnv.h \ SYSINCS+= ${SRCTOP}/sys/sys/nv.h ${SRCTOP}/sys/sys/cnv.h \
${SRCTOP}/sys/sys/dnv.h ${SRCTOP}/sys/sys/dnv.h
# Needed when bootstrapping ldd (since it uses DF_1_PIE)
SYSINCS+= ${SRCTOP}/sys/sys/elf32.h
SYSINCS+= ${SRCTOP}/sys/sys/elf64.h
SYSINCS+= ${SRCTOP}/sys/sys/elf_common.h
SYSINCS+= ${SRCTOP}/sys/sys/elf_generic.h
# vtfontcvt is using sys/font.h # vtfontcvt is using sys/font.h
SYSINCS+= ${SRCTOP}/sys/sys/font.h SYSINCS+= ${SRCTOP}/sys/sys/font.h