This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Make-common.in seems to ignore --datarootdir
- From: Ralf Corsepius <ralf dot corsepius at rtems dot org>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 18 Sep 2009 12:17:42 +0200
- Subject: Make-common.in seems to ignore --datarootdir
Hi,
When building gdb-6.8.91 with a simulator enabled, gdb's configuration
issues a warning similar to this:
...
config.status: creating Make-common.sim
config.status: WARNING:
'../../../gdb-6.8.91/sim/m32c/../common/Make-common.in' seems to ignore
the --datarootdir setting
...
A fix to this is to add
datarootdir = @datarootdir@
to sim/common/Make-common.in
Patch enclosed below.
Ralf
2009-09-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* Make-common.in: Add datarootdir.
diff -Naur gdb-6.8.91.orig/sim/common/Make-common.in gdb-6.8.91-rtems4.10-20090918/sim/common/Make-common.in
--- gdb-6.8.91.orig/sim/common/Make-common.in 2009-07-12 18:59:34.000000000 +0200
+++ gdb-6.8.91-rtems4.10-20090918/sim/common/Make-common.in 2009-09-18 11:36:22.000000000 +0200
@@ -52,6 +52,7 @@
tooldir = $(libdir)/$(target_alias)
datadir = @datadir@
+datarootdir = @datarootdir@
mandir = @mandir@
man1dir = $(mandir)/man1
infodir = @infodir@