Makefile: reorder linker flags in the git executable rule
commit48a031af3cc555e0eb9d30b96f2e0943de7c44ae
authorDavid Michael <fedora.dm0@gmail.com>
Sun, 26 Oct 2014 17:33:53 +0000 (26 13:33 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Oct 2014 18:49:18 +0000 (27 11:49 -0700)
tree31149808f52a5aed0c8863a3b4e5311784a26883
parentf51140c2470b50bcaff63b850f5e258c23d5853d
Makefile: reorder linker flags in the git executable rule

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>
Makefile