diff options
author | Olivier Houchard <cognet@FreeBSD.org> | 2008-08-02 01:21:04 +0000 |
---|---|---|
committer | Olivier Houchard <cognet@FreeBSD.org> | 2008-08-02 01:21:04 +0000 |
commit | 21fb986f162b57703b2c0cba6d713ed202324b24 (patch) | |
tree | 18f8d9afa253ffb9125898cb48291f53bf0e8817 | |
parent | 2f6a79342a5dcddd7aaddbfd3187257f868e0514 (diff) | |
download | src-21fb986f162b57703b2c0cba6d713ed202324b24.tar.gz src-21fb986f162b57703b2c0cba6d713ed202324b24.zip |
Do not build fbsd-threads.c if we're building a cross-debugger.
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=181148
-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 50ff34b1b5bc..e937afa790b5 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 |