summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-29 11:22:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-29 11:24:46 +0000
commit67162438ee9c402b23c32853af9d313949eb6e4a (patch)
tree2959963566682fd134bc7eb9934c90917b70c375 /meta/recipes-devtools/gcc
parentfd085f15e7cd093953f974f69277e130174d551d (diff)
downloadopenembedded-core-67162438ee9c402b23c32853af9d313949eb6e4a.tar.gz
openembedded-core-67162438ee9c402b23c32853af9d313949eb6e4a.tar.bz2
openembedded-core-67162438ee9c402b23c32853af9d313949eb6e4a.zip
base/gcc-common: Ensure umask setting is consistent for shared workdir
gcc has cross and target components with a shared workdir. The unpack umask settings need to match for all of these. We need to use strings in each case to ensure the sstate code matches them correctly. This patch tweaks various things to ensure the change adding the unpack umask change doesn't break the compiler builds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index dcb22babdf..cc0ab2afbd 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -90,6 +90,7 @@ do_patch[stamp-base] = "${SS}"
SSCLEAN = "${TMPDIR}/stamps/work-shared/gcc-[0-9]*-*"
do_fetch[stamp-base-clean] = "${SSCLEAN}"
do_unpack[stamp-base-clean] = "${SSCLEAN}"
+do_unpack[umask] = "022"
do_patch[stamp-base-clean] = "${SSCLEAN}"
# SW means Shared Work directory