diff options
author | cognet <cognet@FreeBSD.org> | 2008-08-02 01:21:04 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2008-08-02 01:21:04 +0000 |
commit | ae19dcc9d43eba6ab50dd1c52cf28604f1c3242f (patch) | |
tree | 18f8d9afa253ffb9125898cb48291f53bf0e8817 /gnu | |
parent | 1fb93c87ad535d17abcb5658e032b0a60372b59c (diff) | |
download | FreeBSD-src-ae19dcc9d43eba6ab50dd1c52cf28604f1c3242f.zip FreeBSD-src-ae19dcc9d43eba6ab50dd1c52cf28604f1c3242f.tar.gz |
Do not build fbsd-threads.c if we're building a cross-debugger.
MFC after: 3 days
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gdb/arch/arm/Makefile | 5 |
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 |