This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Fix insight build problem
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com, insight at sources dot redhat dot com
- Date: Tue, 11 Feb 2003 17:14:03 +0100
- Subject: [commit] Fix insight build problem
Hello,
The attached fixes a build problem with insight - it was addiing the
TCL_LD_SEARCH_PATH (-rpath <path>) instead of the TCL_CC_SEARCH_PATH
(-Wl,-rpath,<path>) to the $(CC) link line.
committed,
Andrew
2003-02-11 Andrew Cagney <ac131313@redhat.com>
* acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
TCL_LD_SEARCH_FLAGS.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.328
diff -u -r1.328 Makefile.in
--- Makefile.in 7 Feb 2003 05:33:44 -0000 1.328
+++ Makefile.in 11 Feb 2003 16:09:18 -0000
@@ -240,7 +240,7 @@
LIB_INSTALL_DIR = $(libdir)
# This variable is needed when doing dynamic linking.
LIB_RUNTIME_DIR = $(libdir)
-TCL = @TCL_LD_SEARCH_FLAGS@ @TCL_BUILD_LIB_SPEC@
+TCL = @TCL_CC_SEARCH_FLAGS@ @TCL_BUILD_LIB_SPEC@
TCL_CFLAGS = @TCLHDIR@
TCL_DEPS = @TCL_DEPS@
GDBTKLIBS = @GDBTKLIBS@
Index: acinclude.m4
===================================================================
RCS file: /cvs/src/src/gdb/acinclude.m4,v
retrieving revision 1.7
diff -u -r1.7 acinclude.m4
--- acinclude.m4 23 Jan 2003 23:03:31 -0000 1.7
+++ acinclude.m4 11 Feb 2003 16:09:18 -0000
@@ -259,6 +259,7 @@
AC_SUBST(TCL_LD_FLAGS)
dnl don't export, not used outside of configure
AC_SUBST(TCL_LD_SEARCH_FLAGS)
+ AC_SUBST(TCL_CC_SEARCH_FLAGS)
AC_SUBST(TCL_COMPAT_OBJS)
AC_SUBST(TCL_RANLIB)
AC_SUBST(TCL_BUILD_LIB_SPEC)
Index: aclocal.m4
===================================================================
RCS file: /cvs/src/src/gdb/aclocal.m4,v
retrieving revision 1.12
diff -u -r1.12 aclocal.m4
--- aclocal.m4 23 Jan 2003 23:03:31 -0000 1.12
+++ aclocal.m4 11 Feb 2003 16:09:18 -0000
@@ -271,6 +271,7 @@
AC_SUBST(TCL_LD_FLAGS)
dnl don't export, not used outside of configure
AC_SUBST(TCL_LD_SEARCH_FLAGS)
+ AC_SUBST(TCL_CC_SEARCH_FLAGS)
AC_SUBST(TCL_COMPAT_OBJS)
AC_SUBST(TCL_RANLIB)
AC_SUBST(TCL_BUILD_LIB_SPEC)