summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gdb/libgdb/Makefile
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-12-05 04:08:22 +0000
committermarcel <marcel@FreeBSD.org>2004-12-05 04:08:22 +0000
commit97caf4c3a0d81978418c77fc27d1fad10172c882 (patch)
tree6cce68bdd0f82d4e14e3c4df81fb5a0a67a17a9f /gnu/usr.bin/gdb/libgdb/Makefile
parentc3df9439cf95707e0fcee82a041a8a8b95e49852 (diff)
downloadFreeBSD-src-97caf4c3a0d81978418c77fc27d1fad10172c882.zip
FreeBSD-src-97caf4c3a0d81978418c77fc27d1fad10172c882.tar.gz
Fix previous commit. GDB_CROSS_DEBUGGER needs to be defined for all
subdirectories.
Diffstat (limited to 'gnu/usr.bin/gdb/libgdb/Makefile')
-rw-r--r--gnu/usr.bin/gdb/libgdb/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/gnu/usr.bin/gdb/libgdb/Makefile b/gnu/usr.bin/gdb/libgdb/Makefile
index 25b7bac..5a733af 100644
--- a/gnu/usr.bin/gdb/libgdb/Makefile
+++ b/gnu/usr.bin/gdb/libgdb/Makefile
@@ -1,9 +1,6 @@
# $FreeBSD$
TARGET_ARCH?= ${MACHINE_ARCH}
-.if ${TARGET_ARCH} != ${MACHINE_ARCH}
-GDB_CROSS_DEBUGGER=
-.endif
LIB= gdb
INTERNALLIB=
@@ -52,12 +49,7 @@ SRCS= annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c \
valarith.c valops.c valprint.c values.c varobj.c \
wrapper.c ${LIBSRCS}
-TARGET_ARCH?= ${MACHINE_ARCH}
-.if ${TARGET_ARCH} != ${MACHINE_ARCH}
-GDB_CROSS_DEBUGGER=
-.endif
-
-.if !defined(GDB_CROSS_DEBUGGER)
+.if ${TARGET_ARCH} == ${MACHINE_ARCH}
_fork_child= fork-child.c
_infptrace= infptrace.c
_inftarg= inftarg.c
OpenPOWER on IntegriCloud