Explicitly specified bare .a libraries need ${PIE_SUFFIX}. Reported by: David E. Cross, on twitter Sponsored by: The FreeBSD Foundation
17 lines
419 B
Makefile
17 lines
419 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= kgdb${GDB_SUFFIX}
|
|
SRCS= main.c kld.c kthr.c trgt.c trgt_${TARGET_CPUARCH}.c
|
|
WARNS?= 2
|
|
|
|
BULIBS= ${OBJ_BU}/libbfd/libbfd${PIE_SUFFIX}.a \
|
|
${OBJ_BU}/libopcodes/libopcodes${PIE_SUFFIX}.a \
|
|
${OBJ_BU}/libiberty/libiberty${PIE_SUFFIX}.a
|
|
GDBLIBS= ${OBJ_GDB}/libgdb/libgdb${PIE_SUFFIX}.a
|
|
|
|
DPADD= ${GDBLIBS} ${BULIBS}
|
|
LDADD= ${GDBLIBS} ${BULIBS}
|
|
LIBADD+= m edit ncursesw gnuregex kvm
|
|
|
|
.include <bsd.prog.mk>
|