summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2012-09-26 10:45:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-26 15:02:26 +0100
commit0c340611de8a721b6e4ccf836f28bada16b8425f (patch)
tree0e48ac0566634447c1312b9f8974562004245ba8 /meta/recipes-devtools/gcc
parent9eacffe137278b6d72672b41f98dfced9ee80036 (diff)
downloadpoky-0c340611de8a721b6e4ccf836f28bada16b8425f.tar.gz
gcc-configure-cross: factor out --enable-threads argument into ${GCCTHREADS}
This allows BSPs for architectures with no thread support to set (for example) "GCCTHREADS=no" without having to override all the other configure parameters. (From OE-Core rev: 6bb0d37529a82b953d374f2d76c2412d7cee587b) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index 908ad3eb2a..4eb59fd583 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -26,12 +26,13 @@ EXTRA_OECONF_INITIAL ?= ""
26EXTRA_OECONF_INTERMEDIATE ?= "" 26EXTRA_OECONF_INTERMEDIATE ?= ""
27 27
28GCCMULTILIB = "--disable-multilib" 28GCCMULTILIB = "--disable-multilib"
29GCCTHREADS ?= "posix"
29 30
30EXTRA_OECONF = "${@['--enable-clocale=generic', ''][d.getVar('USE_NLS', True) != 'no']} \ 31EXTRA_OECONF = "${@['--enable-clocale=generic', ''][d.getVar('USE_NLS', True) != 'no']} \
31 --with-gnu-ld \ 32 --with-gnu-ld \
32 --enable-shared \ 33 --enable-shared \
33 --enable-languages=${LANGUAGES} \ 34 --enable-languages=${LANGUAGES} \
34 --enable-threads=posix \ 35 --enable-threads=${GCCTHREADS} \
35 ${GCCMULTILIB} \ 36 ${GCCMULTILIB} \
36 --enable-c99 \ 37 --enable-c99 \
37 --enable-long-long \ 38 --enable-long-long \