From patchwork Sat Apr 16 06:55:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [45/58] gcc: Add "--enable-clocale=gnu" option for LSB. Date: Sat, 16 Apr 2011 06:55:21 -0000 From: Saul Wold X-Patchwork-Id: 2407 Message-Id: <5f1cea3db666f2b95d285e32fe9174f79be44569.1302936483.git.sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org Cc: Scott Rifenbark , Paul Eggleton , Jingdong Lu , Kang Kai , Xiaofeng Yan From: Jingdong Lu 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] Signed-off-by: Jingdong Lu --- meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb index 2127eb6..189c0b8 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb +++ b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb @@ -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"