diff options
author | David Xu <davidxu@FreeBSD.org> | 2004-08-22 10:59:33 +0000 |
---|---|---|
committer | David Xu <davidxu@FreeBSD.org> | 2004-08-22 10:59:33 +0000 |
commit | a1ad8d2ae712fd6ec20931a290845ad34ad37448 (patch) | |
tree | 6774e4f83d543d2cf250ce762d6818878c8db2fa /gnu/usr.bin | |
parent | 867667fec17db271e06cb736afd579b8f6fbf302 (diff) | |
download | src-a1ad8d2ae712fd6ec20931a290845ad34ad37448.tar.gz src-a1ad8d2ae712fd6ec20931a290845ad34ad37448.zip |
Only compile fbsd-thread.c on amd64 and i386, other architectures
have not been tested yet.
Notes
Notes:
svn path=/head/; revision=134154
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/gdb/libgdb/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/libgdb/Makefile b/gnu/usr.bin/gdb/libgdb/Makefile index fc597831e41f..8857f76f5611 100644 --- a/gnu/usr.bin/gdb/libgdb/Makefile +++ b/gnu/usr.bin/gdb/libgdb/Makefile @@ -37,10 +37,14 @@ SRCS= annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c bcache.c \ tui-stack.c tui-win.c tui-windata.c tui-wingeneral.c \ tui-winsource.c typeprint.c ui-file.c ui-out.c user-regs.c \ utils.c valarith.c valops.c valprint.c values.c varobj.c \ - wrapper.c fbsd-threads.c ${LIBSRCS} + wrapper.c ${LIBSRCS} GENSRCS= version.c +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" +LIBSRCS+= fbsd-threads.c +.endif + version.c: echo '#include "version.h"' > ${.TARGET} echo 'const char version[] = ${VERSION};' >> ${.TARGET} |