git: Fix various makefile flags
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 May 2014 10:04:26 +0000 (11:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 May 2014 18:32:04 +0000 (19:32 +0100)
commit22d221164983174606d5327b7c7f247c828f6af1
treef0c8e8333fe6883623646faac954654459bdf912
parentf1b543e3c5b728aa2825666d77e2204d5ff441be
git: Fix various makefile flags

We need to pass CFLAGS and LDFLAGS to the makefile correctly so we
need to list them as part of EXTRA_OEMAKE.

We also have a problem where git hardlinks binaries in bindir with
those in its libexecdir. If we change the RPATH in one of them, it
breaks the other. We therefore set the no cross dir hardlinking flag
git already has for this kind of issue. This ensures the RPATHS for
the git-core binaries works correctly. Its pure luck this has
sometimes worked so far.

(From OE-Core rev: 64c6ae6a69215b659b82c67e238bc0fbc09a3eab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/git/git.inc