Hi all,A small update after much more investigation: I found why (but not yet a solution :_( ):
Joel Soete wrote:
[...] all seems ok for the make overrides version: [...] CFLAGS="-g -O2" MAKEOVERRIDES="VERSION=2.16.91-hppa64" make[1]: Entering directory `/CAD/parisc-linux/Dpkg/dpkg-work/binutils-2.16.1cvs20051017/builddir-hppa64' make[2]: Entering directory `/CAD/parisc-linux/Dpkg/dpkg-work/binutils-2.16.1cvs20051017/builddir-hppa64' make[3]: Entering directory `/CAD/parisc-linux/Dpkg/dpkg-work/binutils-2.16.1cvs20051017/builddir-hppa64/libiberty' if [ x"-fPIC" != x ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi [...] Versus builld: [...] CFLAGS="-g -O2" MAKEOVERRIDES="VERSION=2.16.91-hppa64" make[1]: Entering directory `/build/buildd/binutils-2.16.1cvs20050902/builddir-hppa64' make[2]: Entering directory `/build/buildd/binutils-2.16.1cvs20050902/builddir-hppa64/libiberty' if [ x"-fPIC" != x ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi [...]
There was well something more to noticed: (in fact before 2005-10-05 cvs) make[1]... make[2]... after, make[1] ... make[2] ... make[3] ... effectively an additional child's make was introduced with some Makefile.* changes like: [...] -all: unstage all-host all-target stage +all: +@if gcc-bootstrap + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + if [ ! -f stage_last ]; then \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) bootstrap; \ + fi +@endif gcc-bootstrap + @$(unstage) +@if gcc-no-bootstrap + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-prebootstrap [...] and by the fact that Makefile was ended by: [...] # ------------------------------ # Special directives to GNU Make # ------------------------------ # Don't pass command-line variables to submakes. .NOEXPORT: MAKEOVERRIDES= # end of Makefile.in the MAKEOVERRIDES is now lost by child's make :<(. For my own test I just comment those 2 lines and it make the trick but that's just a local work around.Any idea for a fix (i.e. how to overwrite VERSION in child's make)?
Thanks in advance, Joel