Makefile: reorder linker flags in the git executable rule
authorDavid Michael <fedora.dm0@gmail.com>
Sun, 26 Oct 2014 17:33:53 +0000 (13:33 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Oct 2014 18:49:18 +0000 (11:49 -0700)
The XL C compiler can fail due to mixing library path and object
file arguments, for example when linking git while building with
"gmake LDFLAGS=-L$prefix/lib".

Move the ALL_LDFLAGS variable expansion in the git executable rule
to be consistent with all the other linking rules, namely to have
LDFLAGS such as -L$where before the object files *.o being linked
together.

Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found