summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/gdb/arch/arm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/arch/arm/Makefile b/gnu/usr.bin/gdb/arch/arm/Makefile
index 50ff34b..e937afa 100644
--- a/gnu/usr.bin/gdb/arch/arm/Makefile
+++ b/gnu/usr.bin/gdb/arch/arm/Makefile
@@ -2,7 +2,10 @@
GENSRCS+= xm.h
LIBSRCS+= armfbsd-nat.c
-LIBSRCS+= arm-tdep.c armfbsd-tdep.c solib.c solib-svr4.c fbsd-threads.c
+LIBSRCS+= arm-tdep.c armfbsd-tdep.c solib.c solib-svr4.c
+.if !defined(GDB_CROSS_DEBUGGER)
+LIBSRC+= fbsd-threads.c
+.endif
nm.h:
#XXX this should be arm/nm-fbsd.h but won't until it's merged into the gdb repo
OpenPOWER on IntegriCloud