aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gdb
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2010-03-26 19:40:53 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2010-03-26 19:40:53 +0000
commit10da4aa60181a9f02db09d0b02ca2dc4528f0fd1 (patch)
treeda52f43b44bdbe7ab9d2ec7705743051a1421492 /gnu/usr.bin/gdb
parentc0873717d4a0563197da4134df21bb27083e79c0 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r--gnu/usr.bin/gdb/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/Makefile b/gnu/usr.bin/gdb/Makefile
index 81a1d6c17ccd..b4ec8230d480 100644
--- a/gnu/usr.bin/gdb/Makefile
+++ b/gnu/usr.bin/gdb/Makefile
@@ -2,7 +2,9 @@
SUBDIR= doc libgdb gdb gdbtui kgdb
-.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc"
+TARGET_ARCH?= ${MACHINE_ARCH}
+.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "arm" || \
+ ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "powerpc"
SUBDIR+=gdbserver
.endif