summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2014-06-13 17:37:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-14 08:43:56 +0100
commitce4cd2c31c13f1916e43f70cd0979334a864bee3 (patch)
tree75f951d68df65a84d8a6b4f122472a6f41d08dc4
parent9cfd10d763daf7c335eb1e4aa22a6cd95b3494e7 (diff)
downloadpoky-ce4cd2c31c13f1916e43f70cd0979334a864bee3.tar.gz
git: don't hardcode the full path to perl
Hardcoded paths to perl don't make sense, use from the environment instead. [Patch taken from meta-mentor by RP] (From OE-Core rev: 8072f26f7304ff5367d5be357037644cb1f6241e) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/git/git.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 9ed13dba39..4e0527cab6 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -16,6 +16,7 @@ EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
16inherit autotools-brokensep perlnative 16inherit autotools-brokensep perlnative
17 17
18EXTRA_OEMAKE = "NO_PYTHON=1 CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'" 18EXTRA_OEMAKE = "NO_PYTHON=1 CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
19EXTRA_OEMAKE += "'PERL_PATH=/usr/bin/env perl'"
19EXTRA_OEMAKE_append_class-native = " NO_CROSS_DIRECTORY_HARDLINKS=1" 20EXTRA_OEMAKE_append_class-native = " NO_CROSS_DIRECTORY_HARDLINKS=1"
20 21
21do_compile_prepend () { 22do_compile_prepend () {