|
From: Bernard L. <be...@br...> - 2006-02-03 22:39:31
|
Dear List,
working from the Valgrind-3.1.0 release, I find that
at some point since 2.4.0
(when I built it previously) it stopped building in a separate build
directory. Poking around
reveals that the offending omission is in
<srdir>/coregrind/Makefile . The CFLAGS settings have -I$(top_builddir)
by a separate
route, but the (variously decorated) CCASFLAGS don't. There may be a
better place
to add the inclusion - I did consider putting it in CCASFLAGS itself -
but in the end
I allowed this inclusion to join -I$(top_srcdir) and the rest in the
architecture-specific
macro definitions in
<srcdir>/Makefile.core.am
(heaven knows there's repetition enough in there).
So in the end the patch is to this file: it will propagate via the
autotools chain
into <srcdir>/coregrind/Makefile.in (and others), and thence into
<builddir>/coregrind/Makefile (and others).
Short'n'sweet.
Bernard Leak
--
Bugs? How many did you want?
|