Module Name: src
Committed By: christos
Date: Tue Aug 27 00:04:28 UTC 2024
Modified Files:
src/tools/gdb: Makefile
Log Message:
For mknative, we need the native versions of MPFR and MPC, so provide them
in the link line, to override those in ${TOOLDIR}/lib
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/tools/gdb/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/gdb/Makefile
diff -u src/tools/gdb/Makefile:1.51 src/tools/gdb/Makefile:1.52
--- src/tools/gdb/Makefile:1.51 Sat Aug 17 23:47:55 2024
+++ src/tools/gdb/Makefile Mon Aug 26 20:04:28 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2024/08/18 03:47:55 rin Exp $
+# $NetBSD: Makefile,v 1.52 2024/08/27 00:04:28 christos Exp $
.include <bsd.hostinit.mk>
@@ -48,7 +48,7 @@ MKNATIVE_ENV= ${BINENV} ${CONFIGURE_ENV:
CXX=${CXX:Q}' '${CCADDFLAGS:Q}' '${CXXADDFLAGS:Q} \
CPP=${CPP:Q}' '-I${DESTDIR}/usr/include \
CFLAGS= CPPFLAGS= \
- CXXFLAGS= LDFLAGS=-L${GMPOBJ} \
+ CXXFLAGS= LDFLAGS='-L${GMPOBJ} -L${MPFROBJ} -L${MPCOBJ}'\
AS=${AS:Q} AWK=${TOOL_AWK:Q} LD=${LD:Q} \
MSGFMT=${TOOLDIR}/bin/${_TOOL_PREFIX}msgfmt \
NM=${NM:Q} OBJDUMP=${OBJDUMP:Q} \