Hook gdb into the build. Exclude gdb on arm and powerpc as support
does not exist yet. The NO_GDB knob is respected.
This commit is contained in:
parent
d03895df94
commit
6f47ee0f39
@ -1,11 +1,18 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR= bc ${_binutils} ${_cc} cpio dc dialog diff diff3 \
|
||||
SUBDIR= bc ${_binutils} ${_cc} cpio dc dialog diff diff3 ${_gdb} \
|
||||
${_gperf} grep gzip man patch rcs sdiff send-pr sort tar texinfo
|
||||
|
||||
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "powerpc"
|
||||
NO_GDB= not yet
|
||||
.endif
|
||||
|
||||
.if !defined(NO_TOOLCHAIN)
|
||||
_cc=cc
|
||||
_binutils=binutils
|
||||
.if !defined(NO_GDB)
|
||||
_gdb=gdb
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !defined(NO_CXX)
|
||||
|
Loading…
x
Reference in New Issue
Block a user