Hi,

I have found a problem with the latest 3.79.1 code. It seems that 
+= does not work as it did in 3.77. With the following GNUmakefile,

----

force : foo := a
force : foo += b
force :
        @echo "foo in the 'force' rule should be 'a b'"
        @echo "foo in the 'force' rule is        '$(foo)'"

----

The output from 3.77 is 

  foo in the 'force' rule should be 'a b'
  foo in the 'force' rule is        'a b'

but the output from 3.79.1 is 

  foo in the 'force' rule should be 'a b'
  foo in the 'force' rule is        ' b'

This the output of gnumake --version.

  GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
  Built for sparc-sun-solaris2.7

I am running an a Sparc Solaris 7 machine.

Best Regards,
  John

Reply via email to