summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-22 21:25:37 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-22 21:25:37 +0000
commit0983188668ca7bc8f081ebea813f19ed348ac3d4 (patch)
treec7a4dac20503cf9c8db6196434ce3d0390de861c /utils
parentb20ee706efe1c40b016efe41e1486ef6e10d6880 (diff)
use the local elf.h since the host toolchain probably sucks #555
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) \