summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/Makefile b/utils/Makefile
index a0ba63376..d3961dc3b 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -70,6 +70,8 @@ else
hostutils: readelf.host
endif
+HOSTCFLAGS += -include $(top_srcdir)include/elf.h
+
ldd.host: ldd.c
$(HOSTCC) $(HOSTCFLAGS) -Wl,-s \
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" $(HOST_LDSO_CACHE_FLAG) \