summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-common.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-29 11:22:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-09 11:04:12 +0000
commitef00c0c0b5d1c2843d96177862605f27502f2349 (patch)
treeabf29802c7f2de0526e890bfb8e3ad5e102bae35 /meta/recipes-devtools/gcc/gcc-common.inc
parent675d4b4c0e7f0d608340329e3003bbe43d819291 (diff)
downloadpoky-ef00c0c0b5d1c2843d96177862605f27502f2349.tar.gz
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. (From OE-Core master rev: 67162438ee9c402b23c32853af9d313949eb6e4a) (From OE-Core rev: 3e8776e3fc09ba11867457e0be6b4c3a4a01e2c6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
-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 4f691a090c..a5daa01691 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -89,6 +89,7 @@ do_patch[stamp-base] = "${SS}"
89SSCLEAN = "${TMPDIR}/stamps/work-shared/gcc-[0-9]*-*" 89SSCLEAN = "${TMPDIR}/stamps/work-shared/gcc-[0-9]*-*"
90do_fetch[stamp-base-clean] = "${SSCLEAN}" 90do_fetch[stamp-base-clean] = "${SSCLEAN}"
91do_unpack[stamp-base-clean] = "${SSCLEAN}" 91do_unpack[stamp-base-clean] = "${SSCLEAN}"
92do_unpack[umask] = "022"
92do_patch[stamp-base-clean] = "${SSCLEAN}" 93do_patch[stamp-base-clean] = "${SSCLEAN}"
93 94
94# SW means Shared Work directory 95# SW means Shared Work directory