[oe-commits] Richard Purdie : cross-localedef-native: Use older C standards for older code

git at git.openembedded.org git at git.openembedded.org
Sun Jul 26 08:15:28 UTC 2015


Module: openembedded-core.git
Branch: dizzy
Commit: 447dba2a6a077c83083556ab79ab265d4b8a048f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=447dba2a6a077c83083556ab79ab265d4b8a048f

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sat Jul 25 23:19:08 2015 +0000

cross-localedef-native: Use older C standards for older code

This older code needs specific compiler options to allow it to work
with gcc 5. These options are used in the 2.21 recipe in master/fido
so this simply backports them.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/glibc/cross-localedef-native_2.20.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.20.bb b/meta/recipes-core/glibc/cross-localedef-native_2.20.bb
index ccf56a9..66119b1 100644
--- a/meta/recipes-core/glibc/cross-localedef-native_2.20.bb
+++ b/meta/recipes-core/glibc/cross-localedef-native_2.20.bb
@@ -39,7 +39,7 @@ SRCREV_localedef = "c833367348d39dad7ba018990bfdaffaec8e9ed3"
 S = "${WORKDIR}/git"
 
 EXTRA_OECONF = "--with-glibc=${S}"
-CFLAGS += "-DNOT_IN_libc=1"
+CFLAGS += "-fgnu89-inline -std=gnu99 -DNOT_IN_libc=1"
 
 do_configure () {
 	${S}/localedef/configure ${EXTRA_OECONF}



More information about the Openembedded-commits mailing list