We need to link with libiberty.a before libreadline.so. Both supply
xmalloc() and xrealloc() and the mixed usage of xmalloc in some .c's from libiberty.a and other .c's from libreadline.so produces an unusable binary on the Alpha. While I am here, preventatively move other libs in the link order. Submitted by: gallatin
This commit is contained in:
parent
cf05b85907
commit
457170e99c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98575
@ -40,16 +40,16 @@ CFLAGS+= -I${GDBDIR}/gdb
|
||||
CFLAGS+= -I${GDBDIR}/gdb/config
|
||||
DPADD= ${RELTOP}/libbfd/libbfd.a
|
||||
DPADD+= ${RELTOP}/libopcodes/libopcodes.a
|
||||
DPADD+= ${LIBREADLINE}
|
||||
DPADD+= ${LIBTERMCAP}
|
||||
DPADD+= ${LIBGNUREGEX}
|
||||
DPADD+= ${RELTOP}/libiberty/libiberty.a
|
||||
DPADD+= ${LIBTERMCAP}
|
||||
DPADD+= ${LIBREADLINE}
|
||||
LDADD+= ${RELTOP}/libbfd/libbfd.a
|
||||
LDADD+= ${RELTOP}/libopcodes/libopcodes.a
|
||||
LDADD+= -lreadline
|
||||
LDADD+= -ltermcap
|
||||
LDADD+= -lgnuregex
|
||||
LDADD+= ${RELTOP}/libiberty/libiberty.a
|
||||
LDADD+= -ltermcap
|
||||
LDADD+= -lreadline
|
||||
|
||||
GDBDIR= ${.CURDIR}/../../../../contrib/gdb
|
||||
.PATH: ${GDBDIR}/gdb
|
||||
|
Loading…
Reference in New Issue
Block a user