diff options
-rw-r--r-- | gnu/usr.bin/binutils/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/Makefile b/gnu/usr.bin/binutils/Makefile index 2a3bdf1..26d4957 100644 --- a/gnu/usr.bin/binutils/Makefile +++ b/gnu/usr.bin/binutils/Makefile @@ -8,7 +8,9 @@ SUBDIR= libiberty libbfd libopcodes libbinutils \ addr2line ar as gasp ld nm objcopy objdump ranlib readelf \ size strings strip doc -.if !defined(NO_GDB) +TARGET_ARCH?= ${MACHINE_ARCH} +.if ${TARGET_ARCH} == "alpha" || ${TARGET_ARCH} == "i386" \ + && !defined(NO_GDB) SUBDIR+= gdb gdbserver gdbreplay .endif |