summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libexec/rtld-elf/Makefile3
-rw-r--r--libexec/rtld-elf/arm/Makefile.inc2
2 files changed, 5 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index bbd5a52..3512d8b 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -1,9 +1,12 @@
# $FreeBSD$
PROG?= ld-elf.so.1
+# XXX: Hopefully this won't be needed after the next binutils import.
+.if ${MACHINE_ARCH} != "arm"
SRCS= rtld_start.S \
reloc.c rtld.c rtld_lock.c map_object.c \
malloc.c xmalloc.c debug.c libmap.c
+.endif
MAN= rtld.1
CSTD?= gnu99
CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD
diff --git a/libexec/rtld-elf/arm/Makefile.inc b/libexec/rtld-elf/arm/Makefile.inc
index e8c0da7..bb27433 100644
--- a/libexec/rtld-elf/arm/Makefile.inc
+++ b/libexec/rtld-elf/arm/Makefile.inc
@@ -1 +1,3 @@
# $FreeBSD$
+SRCS= reloc.c rtld.c rtld_start.S rtld_lock.c map_object.c \
+ malloc.c xmalloc.c debug.c libmap.c
OpenPOWER on IntegriCloud