Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Make-common.in seems to ignore --datarootdir
@ 2009-09-18 10:17 Ralf Corsepius
  2009-09-18 20:33 ` Tom Tromey
  0 siblings, 1 reply; 2+ messages in thread
From: Ralf Corsepius @ 2009-09-18 10:17 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

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


[-- Attachment #2: gdb-6.8.91-sim-common-Make-common.in.diff --]
[-- Type: text/x-patch, Size: 551 bytes --]

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@

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-18 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-18 10:17 Make-common.in seems to ignore --datarootdir Ralf Corsepius
2009-09-18 20:33 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox