diff options
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 3 |
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 ?= "" | |||
26 | EXTRA_OECONF_INTERMEDIATE ?= "" | 26 | EXTRA_OECONF_INTERMEDIATE ?= "" |
27 | 27 | ||
28 | GCCMULTILIB = "--disable-multilib" | 28 | GCCMULTILIB = "--disable-multilib" |
29 | GCCTHREADS ?= "posix" | ||
29 | 30 | ||
30 | EXTRA_OECONF = "${@['--enable-clocale=generic', ''][d.getVar('USE_NLS', True) != 'no']} \ | 31 | EXTRA_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 \ |