summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/gcc/gcc-source.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-source.inc b/meta/recipes-devtools/gcc/gcc-source.inc
index fab99f2d1e..03bab97815 100644
--- a/meta/recipes-devtools/gcc/gcc-source.inc
+++ b/meta/recipes-devtools/gcc/gcc-source.inc
@@ -18,6 +18,8 @@ INHIBIT_DEFAULT_DEPS = "1"
18DEPENDS = "" 18DEPENDS = ""
19PACKAGES = "" 19PACKAGES = ""
20 20
21
22# This needs to be Python to avoid lots of shell variables becoming dependencies.
21python do_preconfigure () { 23python do_preconfigure () {
22 import subprocess 24 import subprocess
23 cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize') 25 cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize')