From 345cf9fb81bd0411c53e25d62cd93bdcaa865312 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 3 Mar 2024 17:37:58 +0000 Subject: [PATCH] changes for r4037 --- tools/elftoolchain/libdwarf/Makefile | 3 ++- tools/elftoolchain/libelf/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/elftoolchain/libdwarf/Makefile b/tools/elftoolchain/libdwarf/Makefile index 0f859cdb5004..b60f330b2104 100644 --- a/tools/elftoolchain/libdwarf/Makefile +++ b/tools/elftoolchain/libdwarf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2022/05/01 17:25:19 jkoshy Exp $ +# $NetBSD: Makefile,v 1.3 2024/03/03 17:37:58 christos Exp $ HOSTLIB=dwarf @@ -73,6 +73,7 @@ COMPATLIB_NO_LIB= yes # only the include files, not the library LIBDWARF_OBJDIR!= cd ${.CURDIR} && ${PRINTOBJDIR} +CPPFLAGS+= -DBUILTIN_ELF_HEADERS CPPFLAGS+= -I${.CURDIR}/../../compat CPPFLAGS+= -I${.CURDIR}/../../common CPPFLAGS+= -I${LIBDWARF_OBJDIR}/../common diff --git a/tools/elftoolchain/libelf/Makefile b/tools/elftoolchain/libelf/Makefile index 637719220233..b4a911a5267e 100644 --- a/tools/elftoolchain/libelf/Makefile +++ b/tools/elftoolchain/libelf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2022/04/18 14:11:44 jkoshy Exp $ +# $NetBSD: Makefile,v 1.2 2024/03/03 17:37:58 christos Exp $ HOSTLIB= elf @@ -37,6 +37,7 @@ SRCS= elf_begin.c \ libelf_checksum.c \ libelf_data.c \ libelf_ehdr.c libelf_extended.c \ + libelf_elfmachine.c \ libelf_memory.c \ libelf_open.c \ libelf_phdr.c \