gcc: Add "--enable-clocale=gnu" option for LSB.

Add "--enable-clocale=gun" option for gcc configuration explicitly for LSB distro
in order to make sure C++ library can use correct locale module.
Fixes [YOCTO #796]

(From OE-Core rev: 8fc7b1e8881872535379d99a8ff940249632b5f7)

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jingdong Lu 2011-04-12 16:29:48 +08:00 committed by Richard Purdie
parent 7a96ee0508
commit 7b59ebe3c3
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
PR = "r5"
PR = "r6"
require gcc-${PV}.inc
require gcc-configure-runtime.inc
@ -9,3 +9,4 @@ SRC_URI_append = "file://fortran-cross-compile-hack.patch"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
EXTRA_OECONF += "--disable-libunwind-exceptions"
EXTRA_OECONF_append_poky-lsb = " --enable-clocale=gnu"