summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2015-05-26 16:04:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-27 17:46:23 +0100
commit4321fce801daea50baaaae9ed6a141c6e7712834 (patch)
treeb9db5a6082714a63bbb274a58c8d17e9684e2271 /meta/recipes-devtools/gcc
parent1d9e6ef173bea8181fabc6abf0dbb53990b15fd8 (diff)
downloadopenembedded-core-4321fce801daea50baaaae9ed6a141c6e7712834.tar.gz
openembedded-core-4321fce801daea50baaaae9ed6a141c6e7712834.tar.bz2
openembedded-core-4321fce801daea50baaaae9ed6a141c6e7712834.zip
gcc-source.inc: set PATH for gnu-configize, not for cd
Setting OE's PATH for the 'cd' command has no real effect. In the normal case it has no effect for the gnu-configize command either (since OE's PATH is already set in the context which runs do_preconfigure) but it may be useful when manually re-running a failed gnu-configize commandline copied from an error log, etc. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-source.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-source.inc b/meta/recipes-devtools/gcc/gcc-source.inc
index a4b27c8fd3..529b8e0e8c 100644
--- a/meta/recipes-devtools/gcc/gcc-source.inc
+++ b/meta/recipes-devtools/gcc/gcc-source.inc
@@ -24,7 +24,7 @@ PACKAGES = ""
python do_preconfigure () {
import subprocess
- cmd = d.expand('PATH=${PATH} cd ${S} && gnu-configize')
+ cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize')
subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
# See 0044-gengtypes.patch, we need to regenerate this file
bb.utils.remove(d.expand("${S}/gcc/gengtype-lex.c"))